From 93ccc830b91045e2ceeee84bd3e14d68f5417edb Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Thu, 12 Oct 2023 10:22:34 +0200 Subject: [PATCH] fix accidental delete --- backend/download/create_csv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/download/create_csv.py b/backend/download/create_csv.py index 19b4dd754..28f31007f 100644 --- a/backend/download/create_csv.py +++ b/backend/download/create_csv.py @@ -108,7 +108,7 @@ def format_field_value(value, unit): 'week': '%Y-%m-%d', 'day': '%Y-%m-%d' } - return + return date.strftime(formats[unit]) def ngram_csv(results, filename): rows = ngram_table(results)