summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
Diffstat (limited to 'decoders')
-rw-r--r--decoders/midi/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/midi/pd.py b/decoders/midi/pd.py
index a631473..8c2e4ed 100644
--- a/decoders/midi/pd.py
+++ b/decoders/midi/pd.py
@@ -66,8 +66,8 @@ class Decoder(srd.Decoder):
return 'assuming ' + percussion_notes.get(note, 'undefined')
def check_for_garbage_flush(self, is_flushed):
- if is_flushed == True:
- if self.explicit_status_byte == True:
+ if is_flushed:
+ if self.explicit_status_byte:
self.cmd.insert(0, self.status_byte)
self.handle_garbage_msg(None)