summaryrefslogtreecommitdiff
path: root/decoders/parallel/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/parallel/pd.py')
-rw-r--r--decoders/parallel/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py
index c8ac2b0..140b7b8 100644
--- a/decoders/parallel/pd.py
+++ b/decoders/parallel/pd.py
@@ -88,6 +88,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.items = []
self.itemcount = 0
self.saved_item = None