diff options
Diffstat (limited to 'decoders/transitioncounter.py')
-rw-r--r-- | decoders/transitioncounter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py index 9a5641d..70f1f1a 100644 --- a/decoders/transitioncounter.py +++ b/decoders/transitioncounter.py @@ -24,7 +24,7 @@ class Sample(): def __init__(self, data): self.data = data def probe(self, probe): - s = ord(self.data[int(probe / 8)]) & (1 << (probe % 8)) + s = self.data[int(probe / 8)] & (1 << (probe % 8)) return True if s else False def sampleiter(data, unitsize): |