adapt to new ICapMessages API

This commit is contained in:
Romain Bignon 2010-08-30 16:38:34 +02:00
commit e7c24c13c8
12 changed files with 381 additions and 249 deletions

View file

@ -103,6 +103,8 @@ class Tile:
try:
return self.hash[self.checksum()]
except KeyError:
print 'Unable te resolve:'
self.display()
raise CaptchaError()
class Captcha: