From 22cb035f1878697d7055a874cb7b57c370340add Mon Sep 17 00:00:00 2001 From: PeterLaemmle Date: Tue, 4 Oct 2016 08:29:02 +0200 Subject: [PATCH] Update Telegram.py Remove needless global declaration in Telegram.py main function. --- plugins/Telegram/Telegram.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/Telegram/Telegram.py b/plugins/Telegram/Telegram.py index 3a1e64d..25e0c7c 100644 --- a/plugins/Telegram/Telegram.py +++ b/plugins/Telegram/Telegram.py @@ -70,11 +70,6 @@ def run(typ,freq,data): @exception: nothing, make sure this function will never thrown an exception """ - global BOTTokenKey - global BOTChatIDAPIKey - global RICforLocationAPIKey - global GoogleAPIKey - try: #if configHandler.checkConfig("Telegram"): #read and debug the config (let empty if no config used)