From cb9a5046bed65e38b28c21afcb8945b19d4e8012 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 10 Sep 2014 09:26:11 +0200 Subject: Various PDs: Whitespace, cosmetics. --- decoders/spdif/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/spdif/pd.py') 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 -- cgit v1.2.3-70-g09d2