From f2041b5f380280d7ffc404e92752ed3de6fa1518 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 23 Aug 2024 19:38:48 -0400 Subject: [PATCH] reversed the order of soul and aura for logging --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 86d54d8..78de210 100644 --- a/main.py +++ b/main.py @@ -66,7 +66,7 @@ def output_line(log): block_cache[block_number] = web3.eth.get_block(block_number) # log the message and output to console - message = "{}:{} {}".format(decoded_data[0]['args']['Aura'], decoded_data[0]['args']['Soul'], decoded_data[0]['args']['LogLine']) + message = "{}:{} {}".format(decoded_data[0]['args']['Soul'], decoded_data[0]['args']['Aura'], decoded_data[0]['args']['LogLine']) log_message(os.getenv('CHANNEL_NAME'), message) timestamp = datetime.fromtimestamp(block_cache[block_number]['timestamp'], tz=timezone.utc) 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']))