mirror of
https://github.com/Laborratte5/linux-iso-seeder.git
synced 2025-12-30 17:08:17 +01:00
Update fetch_torrents.py
This commit is contained in:
parent
ec3eb9722a
commit
afb9ccc934
1 changed files with 6 additions and 1 deletions
|
|
@ -209,7 +209,12 @@ if __name__ == "__main__":
|
|||
try:
|
||||
log_seed_ratios_via_http()
|
||||
except Exception as exc:
|
||||
logging.warning("Could not query Transmission: %s", exc)
|
||||
logging.error("Could not query Transmission: %s", exc)
|
||||
|
||||
try:
|
||||
cleanup_old_versions()
|
||||
except Exception as exc:
|
||||
logging.error("Could not clean up old versions: %s", exc)
|
||||
|
||||
total, used, free = shutil.disk_usage("/downloads")
|
||||
logging.info(f"Downloads folder usage: {used // (2**30)} GB used / {total // (2**30)} GB total")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue