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:
Cas Cremers
2008-08-25 14:59:42 +02:00
parent a020cffec7
commit b352044f92
5 changed files with 223 additions and 110 deletions

View File

@@ -33,8 +33,11 @@ import Preference
import Error
#---------------------------------------------------------------------------
if Preference.usePIL():
try:
import Image
except ImportError:
pass
#---------------------------------------------------------------------------
class AttackDisplay(wx.ScrolledWindow):