mirror of
https://github.com/Laborratte5/linux-iso-seeder.git
synced 2025-12-30 17:08:17 +01:00
Trying to fix errors
This commit is contained in:
parent
ad42aa349f
commit
87e7ad5344
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ def download_torrent(name, url):
|
|||
added = os.path.join(watch_dir, f"{name}.torrent.added")
|
||||
|
||||
# Skip if already processed or queued
|
||||
if dest.exists() or added.exists():
|
||||
if os.path.exists(dest) or os.path.exists(added):
|
||||
logging.info("Skip %s – torrent already present.", dest.name)
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue