]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2cdemux/pd.py
configure.ac: Also check for Python 3.6.
[libsigrokdecode.git] / decoders / i2cdemux / pd.py
index e5cf47ac6696576098ae923a42fd9b17deb6bfc0..5e83a214282cfcc7fb39e5cf0dc171ad4f807034 100644 (file)
@@ -30,7 +30,7 @@ class Decoder(srd.Decoder):
     inputs = ['i2c']
     outputs = [] # TODO: Only known at run-time.
 
-    def __init__(self, **kwargs):
+    def __init__(self):
         self.packets = [] # Local cache of I²C packets
         self.slaves = [] # List of known slave addresses
         self.stream = -1 # Current output stream
@@ -75,4 +75,3 @@ class Decoder(srd.Decoder):
             self.stream = -1
         else:
             pass # Do nothing, only add the I²C packet to our cache.
-