Skip to content

Commit 3647793

Browse files
authored
Merge pull request #395 from dlubal-software/WolfgangCZ-patch-1
Bugfix imports.py -> remove sys.path.clear()
2 parents 5e3ec53 + 938a07a commit 3647793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RFEM/ImportExport/imports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
os.path.dirname(__file__),
66
os.pardir)
77
)
8-
sys.path.clear()
8+
99
sys.path.append(PROJECT_ROOT)
1010
from RFEM.initModel import Model
1111
from RFEM import connectionGlobals
@@ -51,4 +51,4 @@ def setSAFSettings(SafConfiguration):
5151
Args:
5252
SafConfiguration (ns0:SafConfiguration) SAF settings obtained by getSAFSettings()
5353
'''
54-
connectionGlobals.client.service.set_saf_settings(SafConfiguration)
54+
connectionGlobals.client.service.set_saf_settings(SafConfiguration)

0 commit comments

Comments
 (0)