Merge pull request #32 from Jylpah/dev

Update blitzutils.py
This commit is contained in:
Jylpah committed 2020-10-25 16:36:15 +02:00
commit 2a9964dbbb
1 file changed
+1 -1
+1 -1
View File
@@ -1717,7 +1717,7 @@ class WoTinspector:
replay_links = set()
for tag in links:
link = tag.get('href',None)
if (link is not None) and (link.find(cls.URL_REPLAY_DL) == 0 ):
if (link is not None) and link.startswith(cls.URL_REPLAY_DL):
replay_links.add(link)
debug('Adding replay link:' + link)
except Exception as err: