bnporc history always return an iterator

This commit is contained in:
Baptiste Delpey 2015-06-15 10:45:57 +02:00 committed by Romain Bignon
commit bb2f1ee5ac

View file

@ -186,7 +186,7 @@ class BNPorc(Browser):
e = self.page.document.xpath('//form[@name="displayStatementForm"]/input[@name="_flowExecutionKey"]')
if len(e) != 1:
return
return iter([])
execution = e[0].attrib['value']
data = {'_eventId': 'changeOperationsPerPage',
'newCategoryId': '',