diff options
author | Christian Segundo | 2023-06-14 22:07:03 +0200 |
---|---|---|
committer | Christian Segundo | 2023-06-14 22:07:03 +0200 |
commit | e76c12f98fbce4870422790161876163335fc809 (patch) | |
tree | f9cda19a96962c888392dd33cc3c6bc8e1391f9b /scripts | |
parent | aa9c0d7d44c787fef689c9d0434b3a9b605f0632 (diff) | |
download | transmission-hacks-e76c12f98fbce4870422790161876163335fc809.tar.gz |
bump version
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/delete-based-on-tag.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/delete-based-on-tag.py b/scripts/delete-based-on-tag.py index 125580a..fa84997 100755 --- a/scripts/delete-based-on-tag.py +++ b/scripts/delete-based-on-tag.py @@ -29,7 +29,7 @@ def main(host, port, tag, age): specified_age = convert_to_seconds(age) age_in_seconds = int((datetime.today().timestamp() - - torrent.date_done.timestamp())) + torrent.done_date.timestamp())) if age_in_seconds > specified_age: print(f"Deleting {torrent.name}") |