summaryrefslogtreecommitdiff
path: root/decoders/rtc8564
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/rtc8564')
-rw-r--r--decoders/rtc8564/rtc8564.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/decoders/rtc8564/rtc8564.py b/decoders/rtc8564/rtc8564.py
index 0e7a532..97b0808 100644
--- a/decoders/rtc8564/rtc8564.py
+++ b/decoders/rtc8564/rtc8564.py
@@ -223,6 +223,5 @@ class Decoder(srd.Decoder):
else:
pass # TODO?
else:
- # Shouldn't happen.
- raise Exception('Unknown state: %d', self.state)
+ raise Exception('Invalid state: %d' % self.state)