From 201e1551ecac42b6268c0a5958288aec1067d664 Mon Sep 17 00:00:00 2001
From: thomaswoehlke <thomas.woehlke@gmail.com>
Date: Sun, 4 Apr 2021 00:00:14 +0200
Subject: [PATCH] update data

---
 src/covid19/blueprints/owid/owid_service_update.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/covid19/blueprints/owid/owid_service_update.py b/src/covid19/blueprints/owid/owid_service_update.py
index 86893003..96779059 100644
--- a/src/covid19/blueprints/owid/owid_service_update.py
+++ b/src/covid19/blueprints/owid/owid_service_update.py
@@ -138,7 +138,7 @@ class OwidServiceUpdate:
         app.logger.info(" __update_fact_table_initial [begin]")
         app.logger.info("------------------------------------------------------------")
         OwidData.remove_all()
-        new_dates_reported_from_import = OwidImport.get_new_dates_reported_as_array()
+        new_dates_reported_from_import = OwidImport.get_dates_reported_as_array()
         i = 0
         for my_date_reported in new_dates_reported_from_import:
             my_OwidDateReported = OwidDateReported.find_by_date_reported(my_date_reported)
-- 
GitLab