diff options
Diffstat (limited to 'decoders/spdif/pd.py')
-rw-r--r-- | decoders/spdif/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |