aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}")