change safe id to list
This commit is contained in:
parent
12b859a3a5
commit
73d6cf94ad
2
bot.py
2
bot.py
@ -25,7 +25,7 @@ class TelegramMonitorBot:
|
||||
def __init__(self):
|
||||
self.debug = os.environ.get('DEBUG') is not None
|
||||
|
||||
self.safe_user_ids = map(int, os.environ['SAFE_USER_IDS'].split(','))
|
||||
self.safe_user_ids = list(map(int, os.environ['SAFE_USER_IDS'].split(',')))
|
||||
print ("safe_user_ids")
|
||||
print (self.safe_user_ids)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user