From ad8a46f67aa90c767573ac2b6185a8ec53d68ad4 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Thu, 5 Dec 2019 00:58:31 +0100 Subject: [PATCH] Fix urlmatch test --- tests/modules/check_comics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules/check_comics.py b/tests/modules/check_comics.py index b13506671..d54a3b9ca 100644 --- a/tests/modules/check_comics.py +++ b/tests/modules/check_comics.py @@ -101,7 +101,7 @@ def _check_stripurl(strip, scraperobj): return # test that the stripUrl regex matches the retrieved strip URL urlmatch = re.escape(scraperobj.stripUrl) - urlmatch = urlmatch.replace(r"\%s", r".+") + urlmatch = urlmatch.replace(r"%s", r".+") urlmatch = "^%s$" % urlmatch ro = re.compile(urlmatch) mo = ro.search(strip.strip_url)