From 077d0ba38ede313ae637c19d30668d672e4ff151 Mon Sep 17 00:00:00 2001 From: daid Date: Wed, 18 Dec 2013 15:04:12 +0100 Subject: [PATCH] Fix #602 --- Cura/gui/pluginPanel.py | 3 +++ 1 file changed, 3 insertions(+) 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]) -- 2.30.2