From 3a0e206fe47226e291e6328d824749db5bd332e3 Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Fri, 12 Dec 2014 22:19:41 -0500 Subject: [PATCH] Fixed a bug due to not importing the os module in the right place before trying to open a second script. --- CadQuery/Gui/Command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CadQuery/Gui/Command.py b/CadQuery/Gui/Command.py index 687baa9..80fc105 100644 --- a/CadQuery/Gui/Command.py +++ b/CadQuery/Gui/Command.py @@ -118,7 +118,7 @@ class CadQueryOpenScript(): # return True def Activated(self): - import sys + import os, sys mw = FreeCADGui.getMainWindow()