Skip to content

Commit

Permalink
Fix for prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
anasty17 committed Nov 6, 2023
1 parent 79a0b90 commit 203934a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bot/helper/ext_utils/task_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@


async def stop_duplicate_check(listener):
if (
not is_gdrive_id(listener.upDest)
if (isinstance(listener.upDest, int)
or not is_gdrive_id(listener.upDest)
or listener.isLeech
or listener.select
or isinstance(listener.upDest, int)
or listener.upDest.startswith("mtp:")
and not listener.user_dict.get("stop_duplicate", False)
or config_dict["STOP_DUPLICATE"]
Expand Down

0 comments on commit 203934a

Please sign in to comment.