From 18a4484fa8ccb5c0928b512746ee2aa3dcf72c99 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 13 Jan 2023 15:19:11 +0700 Subject: [PATCH] fix reindex logic when not using cookies --- tubearchivist/home/src/index/reindex.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tubearchivist/home/src/index/reindex.py b/tubearchivist/home/src/index/reindex.py index f50223cd..6371d27a 100644 --- a/tubearchivist/home/src/index/reindex.py +++ b/tubearchivist/home/src/index/reindex.py @@ -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