Fallback to wx2.8 if 3.0 is not found

This commit is contained in:
blitzmann
2015-11-06 16:04:20 -05:00
parent 99a15af26e
commit 1f6a14ee36

View File

@@ -50,7 +50,7 @@ if not hasattr(sys, 'frozen'):
if options.force28 is True:
wxversion.select('2.8')
else:
wxversion.select('3.0')
wxversion.select(['3.0', '2.8'])
except wxversion.VersionError:
print "Installed wxPython version doesn't meet requirements.\nYou can download wxPython 2.8 or 3.0 from http://www.wxpython.org/"
sys.exit(1)