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:
a4f4b7a
)
Small extra comment to make it clear why the import is at an odd spot
author
daid303
<daid303@gmail.com>
Mon, 10 Dec 2012 12:24:08 +0000
(13:24 +0100)
committer
daid303
<daid303@gmail.com>
Mon, 10 Dec 2012 12:24:08 +0000
(13:24 +0100)
Cura/cura.py
patch
|
blob
|
history
diff --git
a/Cura/cura.py
b/Cura/cura.py
index b38495f7b888d9c4437f961ba08a7b78e223bd77..07b901c1c9b4999d055fe7334f303a253b47118a 100644
(file)
--- a/
Cura/cura.py
+++ b/
Cura/cura.py
@@
-70,6
+70,7
@@
def main():
if len(args) > 0:
profile.putPreference('lastFile', ';'.join(args))
if len(args) > 0:
profile.putPreference('lastFile', ';'.join(args))
+ #Do not import anything from Cura.gui before this spot, as the above code also needs to run in pypy.
from Cura.gui import app
app.CuraApp().MainLoop()
from Cura.gui import app
app.CuraApp().MainLoop()