diff --git a/misskaty/plugins/genss.py b/misskaty/plugins/genss.py index a8b0fc94..af4636c8 100644 --- a/misskaty/plugins/genss.py +++ b/misskaty/plugins/genss.py @@ -44,7 +44,7 @@ async def genss(client, message): if not DL_TASK.get(message.from_user.id): DL_TASK[message.from_user.id] = True - if DL_TASK.get(message.from_user.id): + if DL_TASK.get(message.from_user.id) == True: return await process.edit("Sorry to avoid flood and error, bot only process one task at a time.") c_time = time.time() the_real_download_location = await replied.download(