Added a message at startup in case wxpython is missing completly
This commit is contained in:
8
pyfa.py
8
pyfa.py
@@ -21,8 +21,12 @@
|
||||
import sys
|
||||
|
||||
if not hasattr(sys, 'frozen'):
|
||||
import wxversion
|
||||
wxversion.ensureMinimal('2.8')
|
||||
try:
|
||||
import wxversion
|
||||
wxversion.ensureMinimal('2.8')
|
||||
except:
|
||||
print "Coulnd't 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)
|
||||
|
||||
import config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user