Skip to content

Commit

Permalink
Fix minor issue on ironpython (#1839)
Browse files Browse the repository at this point in the history
Co-authored-by: maxcapodi78 <Shark78>
  • Loading branch information
maxcapodi78 authored Oct 15, 2022
1 parent 76ad743 commit c238535
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyaedt/application/Design.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@ def load_aedt_thread(path):
logger.info("AEDT file load (threaded) time: {}".format(time.time() - start))

t = None
if project_name and os.path.exists(project_name) and os.path.splitext(project_name)[1] == ".aedt":
if (
not is_ironpython
and project_name
and os.path.exists(project_name)
and os.path.splitext(project_name)[1] == ".aedt"
):
t = threading.Thread(target=load_aedt_thread, args=(project_name,))
t.start()
self._init_variables()
Expand Down

0 comments on commit c238535

Please sign in to comment.