Use strings instead of integers internally for account IDs
This commit is contained in:
parent
7d0105c167
commit
024f217c8b
7 changed files with 24 additions and 33 deletions
|
|
@ -33,7 +33,7 @@ class TransferPage(BasePage):
|
|||
if table.attrib.get('cellspacing') == '2':
|
||||
for tr in table.cssselect('tr.hdoc1, tr.hdotc1'):
|
||||
tds = tr.findall('td')
|
||||
id = long(tds[1].text.replace(u'\xa0', u''))
|
||||
id = tds[1].text.replace(u'\xa0', u'')
|
||||
if id == from_id:
|
||||
if tds[4].find('input') is None:
|
||||
raise TransferError("Unable to make a transfer from %s" % from_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue