Update Telegram.py

Remove needless global declaration in Telegram.py main function.
This commit is contained in:
PeterLaemmle 2016-10-04 08:29:02 +02:00 committed by GitHub
parent bae19499ad
commit 22cb035f18

View file

@ -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)