summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/converter/ltspiceToKicad.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/converter/ltspiceToKicad.py b/src/converter/ltspiceToKicad.py
index d9db923f..7ec696a5 100644
--- a/src/converter/ltspiceToKicad.py
+++ b/src/converter/ltspiceToKicad.py
@@ -44,7 +44,8 @@ class LTspiceConverter:
# Construct the full path to parser.py
parser_path = os.path.join(script_dir, relative_parser_path)
- command = ["python3", f"{parser_path}/sch_LTspice2Kicad.py", filename]
+ command = command = ["python3", f"{parser_path}/sch_LTspice2Kicad.py", f"{filename}.asc"]
+
try:
subprocess.run(command, check=True, cwd=conPath)
# Message box with the conversion success message