Remove conditional import for pypy, instead import depending on arguements.
This commit is contained in:
parent
9db415edfc
commit
dd9d5f75cb
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Reference in a new issue