optimize the check_results.py

This commit is contained in:
2022-05-16 22:25:19 +02:00
parent fa18ad45e5
commit 2dcff47fb3
2 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class DataManager:
return sim_info_collection
def get_all_successful_items(self):
return self.get_all_successful_items_for_day(str(datetime.date.today()))
return self.get_all_successful_items_for_day(str(datetime.date.today()), None)
def get_all_successful_items_for_day(self, day, source_from: Union[str, None]):
doc_ref = self._db.collection(day)