From 34ca73ee60c1ee4d5b8ccfa171c2a3a7f21950bc Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Sat, 15 Aug 2020 20:37:52 +0100 Subject: [PATCH] gadgetbridge: Disable the not-implemented message Currently the not-implemented message provokes GadgetBridget into issuing lots of annoying toaster messages. It's still useful for debugging but let's disable it by default. Signed-off-by: Daniel Thompson --- wasp/gadgetbridge.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wasp/gadgetbridge.py b/wasp/gadgetbridge.py index f1219dd..4e1abc3 100644 --- a/wasp/gadgetbridge.py +++ b/wasp/gadgetbridge.py @@ -50,7 +50,8 @@ def GB(cmd): elif task == 'notify-': wasp.system.unnotify(cmd['id']) else: - _info('Command "{}" is not implemented'.format(cmd)) + pass + #_info('Command "{}" is not implemented'.format(cmd)) except Exception as e: msg = io.StringIO() sys.print_exception(e, msg)