Added horizontal line between runs
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user