From 27c5614d2e4cd4d7772a909dfa5c158bea1d7433 Mon Sep 17 00:00:00 2001 From: andrea-manzi Date: Thu, 25 Jul 2024 22:13:37 +0000 Subject: [PATCH] fix linter error --- egi_notebooks_accounting/eosc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/egi_notebooks_accounting/eosc.py b/egi_notebooks_accounting/eosc.py index fbc1c4a..7107a65 100644 --- a/egi_notebooks_accounting/eosc.py +++ b/egi_notebooks_accounting/eosc.py @@ -184,6 +184,7 @@ def generate_day_metrics( with open(timestamp_file, "w+") as tsf: tsf.write(period_end.strftime("%Y-%m-%dT%H:%M:%SZ")) except OSError as e: + e = str(e) logging.debug("Failed to write timestamp file '{timestamp_file}': {e}")