summaryrefslogtreecommitdiff
path: root/decoders/i2cfilter/i2cfilter.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/i2cfilter/i2cfilter.py')
-rw-r--r--decoders/i2cfilter/i2cfilter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/i2cfilter/i2cfilter.py b/decoders/i2cfilter/i2cfilter.py
index 939e667..afbee65 100644
--- a/decoders/i2cfilter/i2cfilter.py
+++ b/decoders/i2cfilter/i2cfilter.py
@@ -41,7 +41,7 @@ class Decoder(srd.Decoder):
def start(self, metadata):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2cdata')
if self.options['direction'] not in ('', 'read', 'write'):
- raise Exception("Invalid direction: expected 'read' or 'write'")
+ raise Exception('Invalid direction: expected "read" or "write"')
def decode(self, ss, es, data):
try: