From 0da6f2d263b67d92d00dd97a2e4e230469b9dd27 Mon Sep 17 00:00:00 2001 From: elpatron68 Date: Sun, 28 Jul 2019 11:49:50 +0200 Subject: [PATCH] Add temporary logging --- mumbleBot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mumbleBot.py b/mumbleBot.py index 94fb8e5..3d5d9d6 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -389,9 +389,9 @@ class MumbleBot: msg += '' # Shorten table if message too long if len(msg) < 5000: + logging.info('Result too long stage I') msg = var.config.get('strings', 'rbqueryresult') + " :" + ' (shortened L1)' msg += '\n' - else: for s in rb_stations: stationid = s['id'] stationname = s['stationname'] @@ -399,6 +399,7 @@ class MumbleBot: if len(msg) < 5000: self.send_msg(msg, text) else: + logging.info('Result too long stage II') msg = var.config.get('strings', 'rbqueryresult') + " :" + ' (shortened L2)' msg += '!rbplay ID - Station Name' for s in rb_stations:
!rbplay IDStation Name