fixed id check
This commit is contained in:
parent
fd41e3b356
commit
bac7373789
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -46,7 +46,7 @@ class Butler(object):
|
|||
if not self.whitelist:
|
||||
return True
|
||||
for id in ids:
|
||||
if id in self.whitelist:
|
||||
if str(id) in self.whitelist:
|
||||
return True
|
||||
|
||||
self.logger.warning("User {} [{}] or chat {} [{}] are not in the whitelist."
|
||||
|
|
Loading…
Reference in a new issue