From 822af26a399c098caf0f1662ccacca473a895948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Ka=C5=BAmierczyk?= Date: Thu, 2 Jan 2025 13:12:04 +0100 Subject: [PATCH] Fixes #69 use normpath for paths. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Krzysztof Kaźmierczyk --- src/javacore_analyser/javacore_analyser_batch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/javacore_analyser/javacore_analyser_batch.py b/src/javacore_analyser/javacore_analyser_batch.py index bed90a7..6bc584a 100644 --- a/src/javacore_analyser/javacore_analyser_batch.py +++ b/src/javacore_analyser/javacore_analyser_batch.py @@ -101,6 +101,7 @@ def batch_process(input_param, output_param, files_separator=DEFAULT_FILE_DELIMI else: files = [input_param] try: + files = [os.path.normpath(file) for file in files] process_javacores_and_generate_report_data(files, output_param) except Exception as ex: logging.exception(ex)