Skip to content

Commit

Permalink
Looks like there was another issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thepriyamkalra committed Jul 7, 2020
1 parent b679186 commit 55ccc6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/unlocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@bot.on(command(func=lambda e: e.is_group))
async def watch(event):
if event.chat_id not in Config.UNLOCKED_CHATS:
if event.chat_id not in str(Config.UNLOCKED_CHATS):
return
if not os.path.isdir(Config.DOWNLOAD_DIRECTORY):
os.makedirs(Config.DOWNLOAD_DIRECTORY)
Expand Down

0 comments on commit 55ccc6a

Please sign in to comment.