summaryrefslogtreecommitdiff
path: root/wasp
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-08-15 19:37:52 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-08-15 19:37:52 (GMT)
commit34ca73ee60c1ee4d5b8ccfa171c2a3a7f21950bc (patch)
tree3c826443ab2ee8988a1ac7efcfb03ad351f6cf7c /wasp
parent5ae327ea546e7e9b68cef0b17f6df6be3572ac08 (diff)
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 <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp')
-rw-r--r--wasp/gadgetbridge.py3
1 files changed, 2 insertions, 1 deletions
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)