diff options
Diffstat (limited to 'decoders/counter/pd.py')
-rw-r--r-- | decoders/counter/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/counter/pd.py b/decoders/counter/pd.py index 4b5085b..905de6e 100644 --- a/decoders/counter/pd.py +++ b/decoders/counter/pd.py @@ -98,8 +98,8 @@ class Decoder(srd.Decoder): continue edge_count += 1 - self.putc(ROW_EDGE, [str(edge_count)]) + self.putc(ROW_EDGE, ["{:d}".format(edge_count)]) if divider and (edge_count % divider) == 0: word_count += 1 - self.putc(ROW_WORD, [str(word_count)]) + self.putc(ROW_WORD, ["{:d}".format(word_count)]) |