mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
fix reindex logic when not using cookies
This commit is contained in:
parent
f665a1c7f5
commit
18a4484fa8
@ -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…
Reference in New Issue
Block a user