Skip to content

Commit

Permalink
Fixed #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Nubuki-all committed Jun 6, 2024
1 parent 88b6047 commit 21f674d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions bot/workers/downloaders/dl_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,9 @@ async def get_leech_name(url):
):
await asyncio.sleep(2)
continue
if download.is_waiting:
if not (os.path.splitext(download.name))[1] and not download.total_length:
await asyncio.sleep(2)
continue
# __fn, ext = os.path.splitext(download.name)
# if not ext:
# if time.time() - c_time > 60:
# await asyncio.sleep(2)
# continue

dinfo.name = download.name
break
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.2.0-beta.0.7.1-1
v2.2.0-beta.0.7.1-2

0 comments on commit 21f674d

Please sign in to comment.