diff --git a/addon/i3dio/exporter.py b/addon/i3dio/exporter.py index f3cc95a..3b434c1 100644 --- a/addon/i3dio/exporter.py +++ b/addon/i3dio/exporter.py @@ -90,7 +90,7 @@ def export_blend_to_i3d(filepath: str, axis_forward, axis_up) -> dict: logger.error(f"Empty Game Path") else: try: - conversion_result = subprocess.run(args=[str(i3d_binarize_path), '-in', str(filepath), '-out', str(filepath), '-gamePath', str(game_path)], timeout=BINARIZER_TIMEOUT_IN_SECONDS, check=True, text=True, stdout = subprocess.PIPE, stderr=subprocess.STDOUT) + conversion_result = subprocess.run(args=[str(i3d_binarize_path), '-in', str(filepath), '-out', str(filepath), '-gamePath', f"{game_path}/"], timeout=BINARIZER_TIMEOUT_IN_SECONDS, check=True, text=True, stdout = subprocess.PIPE, stderr=subprocess.STDOUT) except FileNotFoundError as e: logger.error(f'Invalid path to i3dConverter.exe: "{i3d_binarize_path}"') except subprocess.TimeoutExpired as e: