stupid bug in previous commit

This commit is contained in:
Lionel Dricot 2022-04-12 15:03:26 +02:00
parent ab2271e6bf
commit 51f5b35a1e
1 changed files with 1 additions and 1 deletions

View File

@ -3648,7 +3648,7 @@ archives, which is a special historical list limited in size. It is similar to `
# we separate components of the line
# to ensure we identify a complete URL, not a part of it
splitted = l.split()
if url not in splitted and len(splitted) > 0:
if url not in splitted and len(splitted) > 1:
current = splitted[1].split("##offpunk_mode=")[0]
#sometimes, we must remove the ending "/"
if url == current: