fix: 💚 fix ruff
All checks were successful
dl / lint (push) Successful in 57s
dl / docker (push) Successful in 39s

This commit is contained in:
Michel Roux 2024-06-15 18:07:49 +02:00
parent 7e307d6e04
commit 0009073a2c

View File

@ -42,6 +42,8 @@ for torrent in client.get_torrents():
f"{response.status_code} - {path.join(torrent.downloadDir, torrent.name)}"
)
except Exception:
print(f"{response.status_code} - {torrent.comment} - {path.join(torrent.downloadDir, torrent.name)}")
print(
f"{response.status_code} - {torrent.comment} - {path.join(torrent.downloadDir, torrent.name)}" # noqa
)
sleep(1)