fix reindex logic when not using cookies

pull/413/head
simon 1 year ago
parent f665a1c7f5
commit 18a4484fa8
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

@ -340,7 +340,8 @@ class Reindex(ReindexBase):
def cookie_is_valid(self):
"""return true if cookie is enabled and valid"""
if not self.config["downloads"]["cookie_import"]:
return False
# is not activated, continue reindex
return True
valid = CookieHandler(self.config).validate()
return valid

Loading…
Cancel
Save