decoding captcha

This commit is contained in:
Romain Bignon 2010-07-15 22:08:41 +02:00
commit 7df272cf7a
3 changed files with 221 additions and 18 deletions

View file

@ -19,7 +19,7 @@
import re
from weboob.backends.aum.pages.base import PageBase
from logging import error
from logging import error, warning
class HomePage(PageBase):
@ -46,5 +46,5 @@ class HomePage(PageBase):
i += 1
if i == 3:
return int(font.firstChild.data)
logging.warning(u'Could not parse number of charms available')
warning(u'Could not parse number of charms available')
return 0