Fix details command (site change)

This commit is contained in:
Florent 2012-03-28 14:40:41 +02:00 committed by Romain Bignon
commit de2a777bde

View file

@ -40,7 +40,7 @@ class DetailsPage(BasePage):
def on_loaded(self):
self.details = []
self.datebills = []
num = self.document.xpath('//div[@class="infosLigneDetail"]')[0].text
num = self.document.xpath('//div[@class="infosLigneDetail pointer"]')[0].text
num = num.split("-")[2].strip()
# National parsing