diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-19 21:24:44 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-19 21:24:44 +0200 |
commit | 43750c453eab64823e8b584cf2389226c081b00c (patch) | |
tree | 6341de3b006a2d83e05bae02a4a342c2d5176930 /python | |
parent | c81d580e5aaecf68116928702a1bf56b25d669fc (diff) | |
download | refcat-43750c453eab64823e8b584cf2389226c081b00c.tar.gz refcat-43750c453eab64823e8b584cf2389226c081b00c.zip |
tasks: reuse tag
Diffstat (limited to 'python')
-rw-r--r-- | python/refcat/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |