Skip to content

Commit

Permalink
Force use of 2.8 on ssystems with multiple wx versions installed
Browse files Browse the repository at this point in the history
Pyfa was reported to break under 2.9
  • Loading branch information
DarkFenX committed Sep 3, 2013
1 parent 0d69688 commit 843577e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
print "Cannot find wxPython or the installed wxPython version doesn't meet the min. requirements.\nYou can download wxPython (2.8) from http://www.wxpython.org/"
sys.exit(1)

try:
wxversion.select('2.8')
except wxversion.VersionError:
print("Unable to select wxpython 2.8, attempting to continue anyway")

try:
import sqlalchemy

Expand Down

0 comments on commit 843577e

Please sign in to comment.