From 009364ad6ab6d56ff27c62a85cb08e3d19062a7c Mon Sep 17 00:00:00 2001 From: Ilya Kulakov Date: Thu, 13 Dec 2012 15:51:45 +0700 Subject: [PATCH] Do not import splashScreen when platform is darwin. --- Cura/gui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/gui/app.py b/Cura/gui/app.py index cd7a2e8..ef5856e 100644 --- a/Cura/gui/app.py +++ b/Cura/gui/app.py @@ -10,7 +10,6 @@ import warnings #Only import the _core to save import time import wx._core -from Cura.gui import splashScreen from Cura.util import profile class CuraApp(wx.App): @@ -27,6 +26,7 @@ class CuraApp(wx.App): #Do not show a splashscreen on OSX, as by Apple guidelines self.afterSplashCallback() else: + from Cura.gui import splashScreen self.splash = splashScreen.splashScreen(self.afterSplashCallback) def MacOpenFile(self, path):