From b839a0ccbd95696ff10676f45424a1d9a4623a4e Mon Sep 17 00:00:00 2001 From: Jylpah Date: Sat, 24 Oct 2020 02:16:58 +0300 Subject: [PATCH] Update blitzutils.py --- blitzutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blitzutils.py b/blitzutils.py index 5985892..58c0ffe 100755 --- a/blitzutils.py +++ b/blitzutils.py @@ -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: