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 | |
parent | aa9c0d7d44c787fef689c9d0434b3a9b605f0632 (diff) | |
download | transmission-hacks-e76c12f98fbce4870422790161876163335fc809.tar.gz |
bump version
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | scripts/delete-based-on-tag.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ IMAGENAME := docker.io/chn2guevara/transmission-hacks -VERSION := 2 +VERSION := 3 BUILDARG_PLATFORM := --platform linux/amd64,linux/arm64/v8 DOCKER_EXTRA_ARGS := 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}") |