aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Segundo2023-06-14 22:07:03 +0200
committerChristian Segundo2023-06-14 22:07:03 +0200
commite76c12f98fbce4870422790161876163335fc809 (patch)
treef9cda19a96962c888392dd33cc3c6bc8e1391f9b
parentaa9c0d7d44c787fef689c9d0434b3a9b605f0632 (diff)
downloadtransmission-hacks-e76c12f98fbce4870422790161876163335fc809.tar.gz
bump version
-rw-r--r--Makefile2
-rwxr-xr-xscripts/delete-based-on-tag.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2cbf3f1..b11d05e 100644
--- a/Makefile
+++ b/Makefile
@@ -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}")