diff options
Diffstat (limited to 'decoders/dcf77/pd.py')
-rw-r--r-- | decoders/dcf77/pd.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py index 14d8637..adee403 100644 --- a/decoders/dcf77/pd.py +++ b/decoders/dcf77/pd.py @@ -242,7 +242,7 @@ class Decoder(srd.Decoder): # Even parity over date bits (36-58): DCF77 bit 58. parity = self.datebits.count(1) s = 'OK' if ((parity % 2) == 0) else 'INVALID!' - self.putx([16, ['Date parity: %s' % s, 'DP: %s' %s]]) + self.putx([16, ['Date parity: %s' % s, 'DP: %s' % s]]) self.datebits = [] else: raise Exception('Invalid DCF77 bit: %d' % c) @@ -314,4 +314,3 @@ class Decoder(srd.Decoder): self.state = 'WAIT FOR RISING EDGE' self.oldval = val - |