From df446ccab52452bdaae635377b1b63429ce7c34a Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 4 Oct 2024 21:41:50 -0700 Subject: [PATCH] reverse --- etc/report_generator.py | 2 +- etc/report_generator5.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/report_generator.py b/etc/report_generator.py index 833edef..271c91c 100644 --- a/etc/report_generator.py +++ b/etc/report_generator.py @@ -118,7 +118,7 @@ def parse_log_file(file_path): line = line.replace('|', '') line = line.replace('INFO', '') line = line.replace('DEBUG', '') - log_data['shameList'].append(line) + log_data['shameList'].insert(0, line) # get the user who sent the message user_match = re.search(r'From: (\w+)', line) diff --git a/etc/report_generator5.py b/etc/report_generator5.py index 8184f3e..effa3a1 100644 --- a/etc/report_generator5.py +++ b/etc/report_generator5.py @@ -128,7 +128,7 @@ def parse_log_file(file_path): line = line.replace('|', '') line = line.replace('INFO', '') line = line.replace('DEBUG', '') - log_data['shameList'].append(line) + log_data['shameList'].insert(0, line) # get the user who sent the message user_match = re.search(r'From: (\w+)', line)