diff options
-rw-r--r-- | src/converter/libConverter.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/converter/libConverter.py b/src/converter/libConverter.py index b9a4cf5b..3c30f7d3 100644 --- a/src/converter/libConverter.py +++ b/src/converter/libConverter.py @@ -25,10 +25,9 @@ class PspiceLibConverter: print("Parser Path:",parser_path) # Prepare the command as a list - # Get output path without extension (same directory as input) - output_base = os.path.splitext(file_path)[0] + output_dir = os.path.dirname(file_path) - command = ["python3", "libparser.py", file_path, output_base] + command = ["python3", "libparser.py", file_path, output_dir] print(f"Running command: {' '.join(command)} in directory: {parser_path}") try: |