From f3f7bb9513f17ab72fb0118960b8b2e961f61005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Fontecha=20Guada=C3=B1o?= Date: Thu, 14 Mar 2024 12:52:50 +0000 Subject: [PATCH] Solving Informo log print --- .gitignore | 1 + inesdata_mov_datasets/sources/extract/informo.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c9b3872..a743504 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,7 @@ coverage.xml # Django stuff: *.log +/logs # Sphinx documentation docs/_build/ diff --git a/inesdata_mov_datasets/sources/extract/informo.py b/inesdata_mov_datasets/sources/extract/informo.py index f9c5a61..1b20f38 100644 --- a/inesdata_mov_datasets/sources/extract/informo.py +++ b/inesdata_mov_datasets/sources/extract/informo.py @@ -86,7 +86,7 @@ async def save_informo(config: Settings, data: json): informo_dict_upload, ) else: - logger.debug("Already called AEMET today") + logger.debug("Already called INFORMO in the past 5 minutes") if config.storage.default == "local": object_name = f"informo_{formated_date}.json" @@ -105,4 +105,4 @@ async def save_informo(config: Settings, data: json): with open(path_save_informo / object_name, "w") as file: file.write(response_json_str) else: - logger.debug("Already called AEMET today") + logger.debug("Already called INFORMO in the past 5 minutes")