Small extra comment to make it clear why the import is at an odd spot

master
daid303 2012-12-10 13:24:08 +01:00
parent a4f4b7ae0e
commit b6d7981529
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ def main():
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()