diff --git a/tbr.py b/tbr.py index 5dc04fa..e4f0679 100644 --- a/tbr.py +++ b/tbr.py @@ -60,7 +60,6 @@ def error(bot, update, error): routingdict = dict() def route(bot, update, args): - #global routingdict chat_id = update.message.chat_id source_id = ' '.join(args) if source_id not in routingdict: @@ -70,7 +69,6 @@ def route(bot, update, args): def print_routes(bot, update): - #global routingdict update.message.reply_text(repr(routingdict)) @@ -102,7 +100,6 @@ def main(token_file): updater.start_polling() # PA-PA - #global routingdict for line in sys.stdin: # CTRL+D, eli EOF, lopettaa print('Line: {}'.format(line)) parsed = json.loads(line)