Remove conditional import for pypy, instead import depending on arguements.

This commit is contained in:
daid 2012-03-21 13:33:01 +01:00
parent 9db415edfc
commit dd9d5f75cb

View File

@ -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__':