Skip to content
Snippets Groups Projects
Commit 807f430d authored by Jeremy Commins's avatar Jeremy Commins
Browse files

Update tiles last_date in tiles_to_watch.csv even if no product was downloaded.

parent 179b44cc
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,10 @@ class Automatization:
self._products_list = {"hubs": {}, "aws": {}}
if not self._csv_path.exists():
logger.info("Creating tiles_to_watch file")
self._init()
else:
logger.info("tiles_to_watch found")
self._read_csv()
self._update_df()
......@@ -218,8 +220,8 @@ class Automatization:
failed = prods.failed_products
if failed:
print(failed)
self._update_df()
self._save_csv()
self._update_df()
self._save_csv()
def get_tiles_from_tags(self, tags: Sequence[str] = ()) -> Set[str]:
"""
......
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