]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/onewire_network/pd.py
Probes, optional probes and annotations now take a tuple.
[libsigrokdecode.git] / decoders / onewire_network / pd.py
index 3064481281e7638363084ca06fe065d3c84ca345..a9165726205c40e433b65542d442052741b615c1 100644 (file)
@@ -41,9 +41,9 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['onewire_link']
     outputs = ['onewire_network']
-    annotations = [
-        ['text', 'Human-readable text'],
-    ]
+    annotations = (
+        ('text', 'Human-readable text'),
+    )
 
     def __init__(self, **kwargs):
         self.beg = 0