diff --git a/frontend/app/routes.py b/frontend/app/routes.py index 2ca7a916822726dccb6aec7fc03b0a8f39782d01..b95f6d490000c36b91a9cfbd4adf58018e1de313 100644 --- a/frontend/app/routes.py +++ b/frontend/app/routes.py @@ -225,8 +225,7 @@ def logs(): files = OrderedDict() filenames = sorted(glob(join(LOGS_PATH, "MSG_*.log*")), reverse=True) - main_log = filenames.pop(-1) - for filename in [main_log] + filenames: + for filename in filenames: files[basename(filename)] = getsize(filename) return render_template('logs.html', files=files)