]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/em4100/pd.py
Use consistent __init__() format across all PDs.
[libsigrokdecode.git] / decoders / em4100 / pd.py
index d1a7ba327de8c4467fa7c6ef3198edd314ce441b..d47b43e2b9fb610f2e7c5c4dd6b96dea84d4ddba 100644 (file)
@@ -5,8 +5,8 @@
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either data 2 of the License, or
-## (at your option) any later data.
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
 ##
 ## This program is distributed in the hope that it will be useful,
 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -62,7 +62,7 @@ class Decoder(srd.Decoder):
         ('tags', 'Tags', (9,)),
     )
 
-    def __init__(self, **kwargs):
+    def __init__(self):
         self.samplerate = None
         self.oldpin = None
         self.last_samplenum = None