From 299333c959066ed7f0e806e815299806da0b4788 Mon Sep 17 00:00:00 2001 From: GeoffreyCoulaud Date: Thu, 29 Jun 2023 17:39:52 +0200 Subject: [PATCH] Added horizontal line between runs --- src/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 12e0f80..e16bd35 100644 --- a/src/main.py +++ b/src/main.py @@ -145,7 +145,11 @@ class CartridgesApplication(Adw.Application): def on_about_action(self, *_args): # Get the debug info from the log files debug_str = "" - for path in shared.log_files: + for i, path in enumerate(shared.log_files): + # Add a horizontal line between runs + if i > 0: + debug_str += "─" * 37 + "\n" + # Add the run's logs log_file = ( lzma.open(path, "rt", encoding="utf-8") if path.name.endswith(".xz")