chiark / gitweb /
Workaround for http://umforum.ultimaker.com/index.php?/topic/4905-cura-1403-crashing...
authordaid <daid303@gmail.com>
Tue, 25 Mar 2014 16:14:13 +0000 (17:14 +0100)
committerdaid <daid303@gmail.com>
Tue, 25 Mar 2014 16:14:13 +0000 (17:14 +0100)
Cura/gui/app.py

index 3140e33bdcebc460e72ea909c212d7b8ac74e3f7..10cbd597f4c34ee7323750ef5c83b864eab5e1d0 100644 (file)
@@ -7,8 +7,11 @@ import shutil
 import glob
 import warnings
 
-#Only import the _core to save import time
-import wx._core
+try:
+    #Only try to import the _core to save import time
+    import wx._core
+except ImportError:
+    import wx
 
 
 class CuraApp(wx.App):