From: daid Date: Wed, 18 Dec 2013 14:04:12 +0000 (+0100) Subject: Fix #602 X-Git-Tag: 14.01~23 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=077d0ba38ede313ae637c19d30668d672e4ff151;p=cura.git Fix #602 --- diff --git a/Cura/gui/pluginPanel.py b/Cura/gui/pluginPanel.py index b29912ea..b57ee5f3 100644 --- a/Cura/gui/pluginPanel.py +++ b/Cura/gui/pluginPanel.py @@ -2,6 +2,7 @@ from __future__ import absolute_import __copyright__ = "Copyright (C) 2013 David Braam - Released under terms of the AGPLv3 License" import wx +import os import webbrowser from wx.lib import scrolledpanel @@ -174,4 +175,6 @@ class pluginPanel(wx.Panel): webbrowser.open('http://wiki.ultimaker.com/Category:CuraPlugin') def OnOpenPluginLocation(self, e): + if not os.path.exists(profile.getPluginBasePaths()[0]): + os.mkdir(profile.getPluginBasePaths()[0]) explorer.openExplorerPath(profile.getPluginBasePaths()[0])