diff --git a/present/present.py b/present/present.py index 19fb18f..9fd8852 100755 --- a/present/present.py +++ b/present/present.py @@ -43,6 +43,8 @@ while True: for event in client.events(): parsed = json.loads(event.data) control = parsed['control'] + if control == '': + continue if control not in ALLOWED_CONTROLS: print(f'INVALID CONTROL: {control}') continue