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)