Skip to content

Commit

Permalink
Wait 15 sec on select files
Browse files Browse the repository at this point in the history
- adds a 15-second wait between selectfile calls
  • Loading branch information
Pukabyte authored Jul 13, 2024
1 parent 5259785 commit 70c9ffd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blackhole.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def print(*values: object):
if not await torrent.selectFiles():
torrent.delete()
return False
await asyncio.sleep(15) # Add a 5-second wait between select file calls
elif status == torrent.STATUS_DOWNLOADING:
# Send progress to arr
progress = info['progress']
Expand Down

0 comments on commit 70c9ffd

Please sign in to comment.