From daae0f547c5fa5c5435eddce6e1e88a518d76fd6 Mon Sep 17 00:00:00 2001 From: rv0lt Date: Fri, 11 Oct 2024 11:32:10 +0200 Subject: [PATCH] remove ununsed variable --- dds_web/commands.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/dds_web/commands.py b/dds_web/commands.py index 94d35a079..e742bdc47 100644 --- a/dds_web/commands.py +++ b/dds_web/commands.py @@ -1145,9 +1145,6 @@ def collect_stats(): # Get current time current_time = dds_web.utils.timestamp(ts_format="%Y-%m-%d") - # Get the instance name (DEVELOPMENT, PRODUCTION, etc.) - instance_name = flask.current_app.config.get("INSTANCE_NAME") - # Get email address recipient: str = flask.current_app.config.get("MAIL_DDS") error_subject: str = "[CRONJOB] Error during collection of DDS unit- and user statistics."