mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-08 20:49:27 +00:00
fix reindex logic when not using cookies
This commit is contained in:
@@ -340,7 +340,8 @@ class Reindex(ReindexBase):
|
|||||||
def cookie_is_valid(self):
|
def cookie_is_valid(self):
|
||||||
"""return true if cookie is enabled and valid"""
|
"""return true if cookie is enabled and valid"""
|
||||||
if not self.config["downloads"]["cookie_import"]:
|
if not self.config["downloads"]["cookie_import"]:
|
||||||
return False
|
# is not activated, continue reindex
|
||||||
|
return True
|
||||||
|
|
||||||
valid = CookieHandler(self.config).validate()
|
valid = CookieHandler(self.config).validate()
|
||||||
return valid
|
return valid
|
||||||
|
|||||||
Reference in New Issue
Block a user