From fd209568830754b6ae28412edb2605a1dd6cb065 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 29 Aug 2024 12:14:01 -0400 Subject: [PATCH] reversed the order of soul and aura for logging (again) --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6ddde63..09da388 100644 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ def output_line(event): # log the message and output to console timestamp = datetime.fromtimestamp(block_cache[block_number]['timestamp'], tz=timezone.utc) - message = "{}:{} {}".format(decoded_data[0]['args']['Soul'], decoded_data[0]['args']['Aura'], decoded_data[0]['args']['LogLine']) + message = "{}:{} {}".format(decoded_data[0]['args']['Aura'], decoded_data[0]['args']['Soul'], decoded_data[0]['args']['LogLine']) log_message(os.getenv('CHANNEL_NAME'), "[{}] {}".format(timestamp.strftime("%Y-%m-%d %H:%M:%S"), message)) print("[{}] {}".format(timestamp.strftime("%Y-%m-%d %H:%M:%S"), message if os.getenv('SHOW_AURA_AND_SOUL') != '0' else decoded_data[0]['args']['LogLine']))