Fix transfer (site changed)

This commit is contained in:
Florent 2013-07-09 09:46:22 +02:00
commit 943b0caeb9

View file

@ -169,7 +169,7 @@ class TransferConfirmPage(BasePage):
confirmform = None confirmform = None
for form in self.document.xpath('//form'): for form in self.document.xpath('//form'):
try: try:
if form.attrib['name'][0:4] == "j_id": if form.attrib['name'][0:4] == "j_id" and 'enctype' not in form.attrib:
confirmform = form confirmform = form
break break
except: except: