fix for #11374 : page parsing for saving accounts
This commit is contained in:
parent
6039792d1d
commit
a2ad52d736
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ class HistoryPage(SGPEPage):
|
||||||
for n in self.parser.select(self.document.getroot(), '#numPageBloc'):
|
for n in self.parser.select(self.document.getroot(), '#numPageBloc'):
|
||||||
cur = int(self.parser.select(n, '#numPage', 1).value)
|
cur = int(self.parser.select(n, '#numPage', 1).value)
|
||||||
for end in self.parser.select(n, '.contenu3-lien'):
|
for end in self.parser.select(n, '.contenu3-lien'):
|
||||||
return int(end.text.replace('/', '')) > cur
|
return end.text != '/' and int(end.text.replace('/', '')) > cur
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue