From a258f8d18844fc7a70a98dd3ff4f15da10aed4cf Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Sat, 15 Dec 2018 19:04:44 +0530 Subject: [PATCH] Sorry, that a commit broke it back Signed-off-by: baalajimaestro --- userbot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userbot/__init__.py b/userbot/__init__.py index f283fbbc7..9d310b9f0 100644 --- a/userbot/__init__.py +++ b/userbot/__init__.py @@ -21,7 +21,7 @@ except NameError: API_KEY = os.environ.get('API_KEY', None) API_HASH = os.environ.get('API_HASH',None) - LOGGER_GROUP=os.environ.get('LOGGER_GROUP') + LOGGER_GROUP=int(os.environ.get('LOGGER_GROUP')) LOGGER=os.environ.get('LOGGER',None) #Incase you want to turn off logging, put this to false PM_AUTO_BAN=os.environ.get('PM_AUTO_BAN',None) CONSOLE_LOGGER_VERBOSE=os.environ.get('CONSOLE_LOGGER_VERBOSE',None)