chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d61edb0
)
Workaround for http://umforum.ultimaker.com/index.php?/topic/4905-cura-1403-crashing...
author
daid
<daid303@gmail.com>
Tue, 25 Mar 2014 16:14:13 +0000
(17:14 +0100)
committer
daid
<daid303@gmail.com>
Tue, 25 Mar 2014 16:14:13 +0000
(17:14 +0100)
Cura/gui/app.py
patch
|
blob
|
history
diff --git
a/Cura/gui/app.py
b/Cura/gui/app.py
index 3140e33bdcebc460e72ea909c212d7b8ac74e3f7..10cbd597f4c34ee7323750ef5c83b864eab5e1d0 100644
(file)
--- a/
Cura/gui/app.py
+++ b/
Cura/gui/app.py
@@
-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):