From 1520b971ac5bc65fa3a126e7371e0303e0c860cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deniz=20=C5=9Eafak?= Date: Sun, 19 Oct 2025 16:02:36 +0300 Subject: [PATCH] Fixed `/` and `\` path display by normalizing paths --- abogen/conversion.py | 4 ++++ abogen/queue_manager_gui.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/abogen/conversion.py b/abogen/conversion.py index a4a32d3..39e49da 100644 --- a/abogen/conversion.py +++ b/abogen/conversion.py @@ -308,6 +308,10 @@ class ConversionThread(QThread): input_file = self.display_path if self.display_path else self.file_name processing_file = self.file_name + # Normalize paths for consistent display (fixes Windows path separator issues) + input_file = os.path.normpath(input_file) if input_file else input_file + processing_file = os.path.normpath(processing_file) if processing_file else processing_file + self.log_updated.emit(f"- Input File: {input_file}") if input_file != processing_file: self.log_updated.emit(f"- Processing File: {processing_file}") diff --git a/abogen/queue_manager_gui.py b/abogen/queue_manager_gui.py index ee7684e..d8c9dea 100644 --- a/abogen/queue_manager_gui.py +++ b/abogen/queue_manager_gui.py @@ -221,6 +221,10 @@ class QueueManager(QDialog): display_file_path = getattr(item, "save_base_path", None) or item.file_name processing_file_path = item.file_name + # Normalize paths for consistent display (fixes Windows path separator issues) + display_file_path = os.path.normpath(display_file_path) if display_file_path else display_file_path + processing_file_path = os.path.normpath(processing_file_path) if processing_file_path else processing_file_path + # Only show the file name, not the full path display_name = display_file_path import os