summaryrefslogtreecommitdiff
path: root/decoders/spdif
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/spdif')
-rw-r--r--decoders/spdif/__init__.py1
-rw-r--r--decoders/spdif/pd.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/decoders/spdif/__init__.py b/decoders/spdif/__init__.py
index e53a435..0e8d059 100644
--- a/decoders/spdif/__init__.py
+++ b/decoders/spdif/__init__.py
@@ -24,4 +24,3 @@ transmitting audio data.
'''
from .pd import *
-
diff --git a/decoders/spdif/pd.py b/decoders/spdif/pd.py
index 9646386..bd75cff 100644
--- a/decoders/spdif/pd.py
+++ b/decoders/spdif/pd.py
@@ -226,7 +226,7 @@ class Decoder(srd.Decoder):
data = pins[0]
# Initialize self.olddata with the first sample value.
- if self.olddata == None:
+ if self.olddata is None:
self.olddata = data
continue