BUGFIX: PIL is tested at the start of the program.
Previously, one would get one void verification result before Scyther detected PIL was not working. Now nothing is wasted.
This commit is contained in:
@@ -33,8 +33,11 @@ import Preference
|
||||
import Error
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
if Preference.usePIL():
|
||||
try:
|
||||
import Image
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class AttackDisplay(wx.ScrolledWindow):
|
||||
|
||||
Reference in New Issue
Block a user