From c7d9e4b7b58ae9357ee33ea67aff8401d074730b Mon Sep 17 00:00:00 2001 From: Khushal P Soonderji Date: Thu, 19 Feb 2026 14:51:37 +0530 Subject: [PATCH] (20260219) Cron ready for production test. --- scripts/cron.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/cron.py b/scripts/cron.py index 9896bc3..cbcf675 100644 --- a/scripts/cron.py +++ b/scripts/cron.py @@ -155,7 +155,7 @@ async def yesterday_cron( # If something goes wrong in the COSEC step: except Exception as exception: err_printer(exception) - # if test_mode: raise + if test_mode: raise # Log out of TCAOFF: success = await tcaoff_client.logout() @@ -165,7 +165,7 @@ async def yesterday_cron( except Exception as exception: err_printer(exception) await tcaoff_client.logout() - # if test_mode: raise + if test_mode: raise # --------------------------------------------------------------------------------------------------------------------- @@ -253,13 +253,13 @@ async def today_cron( # If something goes wrong in the COSEC step: except Exception as exception: err_printer(exception) - # if test_mode: raise + if test_mode: raise # If something goes wrong: except Exception as exception: err_printer(exception) await tcaoff_client.logout() - # if test_mode: raise + if test_mode: raise # ---------------------------------------------------------------------------------------------------------------------