Skip to content
Snippets Groups Projects
Commit 9454f998 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

working on: 0.0.32 Release

parent 605b6f78
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,8 @@ class WhoImport(db.Model):
.group_by(cls.date_reported)\
.distinct().all()
for item, in myresultset:
pass
if not item in myresultarray:
myresultarray.append(item)
return myresultarray
@classmethod
......
......@@ -22,7 +22,7 @@ class WhoServiceUpdateFull(WhoServiceUpdateBase):
app.logger.info("------------------------------------------------------------")
WhoDateReported.remove_all()
i = 0
for i_date_reported, in WhoImport.get_dates_reported_as_array():
for i_date_reported, in WhoImport.get_dates_reported():
i += 1
output = " [ " + str(i) + " ] " + i_date_reported
o = WhoDateReported.create_new_object_factory(my_date_rep=i_date_reported)
......@@ -85,6 +85,7 @@ class WhoServiceUpdateFull(WhoServiceUpdateBase):
def __full_update_data(self):
app.logger.info(" WhoServiceUpdateFull.__full_update_data [begin]")
app.logger.info("------------------------------------------------------------")
WhoData.remove_all()
new_dates_reported_from_import = WhoImport.get_dates_reported_as_array()
i = 0
for my_date_reported in new_dates_reported_from_import:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment