File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/ansys/aedt/core/extensions Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ Update extension directory path handling in add_script_to_menu function
Original file line number Diff line number Diff line change @@ -397,8 +397,8 @@ def add_script_to_menu(
397397 build_file_data = build_file_data .replace ("##JUPYTER_EXE##" , str (jupyter_executable ))
398398 build_file_data = build_file_data .replace ("##TOOLKIT_NAME##" , str (name ))
399399 build_file_data = build_file_data .replace ("##EXTENSION_TEMPLATES##" , str (templates_dir ))
400- if copy_to_personal_lib and dest_script_path :
401- extension_dir = dest_script_path .parent
400+ if dest_script_path :
401+ extension_dir = Path ( dest_script_path ) .parent
402402 else :
403403 extension_dir = Path (ansys .aedt .core .extensions .__file__ ).parent / "installer"
404404 build_file_data = build_file_data .replace ("##BASE_EXTENSION_LOCATION##" , str (extension_dir ))
You can’t perform that action at this time.
0 commit comments