From 0eeeb544e1ea3cef9669f98e7c0b19b8f73a9236 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 21 Nov 2012 22:51:31 +0100 Subject: Fix bugs in "Invalid state" printing/exceptions. --- decoders/mlx90614/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/mlx90614/pd.py') diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py index 1ee88d7..329f2b6 100644 --- a/decoders/mlx90614/pd.py +++ b/decoders/mlx90614/pd.py @@ -83,5 +83,5 @@ class Decoder(srd.Decoder): self.state = 'IGNORE START REPEAT' self.data = [] else: - raise Exception('Invalid state: %d' % self.state) + raise Exception('Invalid state: %s' % self.state) -- cgit v1.2.3-70-g09d2