From 43750c453eab64823e8b584cf2389226c081b00c Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 19 May 2021 21:24:44 +0200 Subject: tasks: reuse tag --- python/refcat/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py index 57f961b..9fbfa2b 100644 --- a/python/refcat/tasks.py +++ b/python/refcat/tasks.py @@ -123,7 +123,7 @@ class Refcat(BaseTask): BASE = settings.BASE TAG = '2021-05-06' - date = luigi.DateParameter(default=datetime.date(2021, 5, 6), description="a versioning help, change this manually") + date = luigi.DateParameter(default=datetime.datetime.strptime(Refcat.TAG, "%Y-%m-%d"), description="a versioning help, change this manually") tmpdir = luigi.Parameter(default=settings.TMPDIR, description="set tempdir", significant=False) n = luigi.IntParameter(default=multiprocessing.cpu_count(), significant=False) -- cgit v1.2.3