summaryrefslogtreecommitdiff
path: root/decoders/dcf77
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/dcf77')
-rw-r--r--decoders/dcf77/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py
index c4132e9..9b7c931 100644
--- a/decoders/dcf77/pd.py
+++ b/decoders/dcf77/pd.py
@@ -282,7 +282,7 @@ class Decoder(srd.Decoder):
self.state = 'WAIT FOR RISING EDGE'
else:
- raise Exception('Invalid state: %d' % self.state)
+ raise Exception('Invalid state: %s' % self.state)
self.oldval = val