mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 02:06:02 +08:00
Remove conditional import for pypy, instead import depending on arguements.
This commit is contained in:
parent
9db415edfc
commit
dd9d5f75cb
@ -18,9 +18,6 @@ import platform
|
||||
from optparse import OptionParser
|
||||
from newui import skeinRun
|
||||
|
||||
if platform.python_implementation() != "PyPy":
|
||||
from newui import mainWindow
|
||||
|
||||
__author__ = 'Daid'
|
||||
__credits__ = """
|
||||
Enrique Perez (perez_enrique@yahoo.com)
|
||||
@ -52,6 +49,7 @@ def main():
|
||||
if len( args ) > 0:
|
||||
skeinRun.runSkein(args)
|
||||
else:
|
||||
from newui import mainWindow
|
||||
mainWindow.main()
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
x
Reference in New Issue
Block a user