From 2d7b3e06a2419d6fbda330fd5b11635923507ff7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Nov 2022 12:22:13 +0000 Subject: [PATCH] Ending on wrong parameter --- session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session.py b/session.py index cfb0b2744..16971aadd 100644 --- a/session.py +++ b/session.py @@ -424,7 +424,7 @@ def site_is_verified(session, base_dir: str, http_prefix: str, verified_file_exists = False if os.path.isfile(verified_sites_filename): verified_file_exists = True - if text_in_file(url, verified_sites_filename + '\n', True): + if text_in_file(url + '\n', verified_sites_filename, True): return True if not update: return False