diff options
| -rw-r--r-- | uploader/background_jobs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/background_jobs.py b/uploader/background_jobs.py index 6b14d02..61e57f7 100644 --- a/uploader/background_jobs.py +++ b/uploader/background_jobs.py @@ -126,7 +126,7 @@ def job_error(job_id: uuid.UUID): return render_template("jobs/job-not-found.html", job_id=job_id) -def make_datetime_formatter(dtformat: str = "") -> str: +def make_datetime_formatter(dtformat: str = "") -> Callable[[str], str]: """Make a datetime formatter with the provided `dtformat`""" def __formatter__(val: str) -> str: dt = datetime.datetime.fromisoformat(val) |
