Fixed a bug due to not importing the os module in the right place before trying to open a second script.
This commit is contained in:
parent
925df1f6d3
commit
3a0e206fe4
|
@ -118,7 +118,7 @@ class CadQueryOpenScript():
|
|||
# return True
|
||||
|
||||
def Activated(self):
|
||||
import sys
|
||||
import os, sys
|
||||
|
||||
mw = FreeCADGui.getMainWindow()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user