about summary refs log tree commit diff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-01-08 15:08:02 -0600
committerFrederick Muriuki Muriithi2026-01-08 15:08:02 -0600
commit1fe60a83dad67955e325e97590b8d1546af2eace (patch)
tree3c859746b08e7d34ed9abd41efa01d15e5da25cb /uploader
parent3c0e60c3885fe4b6afb12260934d3aa55750674d (diff)
downloadgn-uploader-main.tar.gz
Fix return type declaration for the function. HEAD main
Diffstat (limited to 'uploader')
-rw-r--r--uploader/background_jobs.py2
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)