From 3b7e4c9266f249a7af47d5104f4d2b0c7e571e8a Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 1 Oct 2023 08:36:09 +0700 Subject: [PATCH] skip id_sb_id migration --- tubearchivist/config/management/commands/ta_startup.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tubearchivist/config/management/commands/ta_startup.py b/tubearchivist/config/management/commands/ta_startup.py index f71fe76..8ebb3c0 100644 --- a/tubearchivist/config/management/commands/ta_startup.py +++ b/tubearchivist/config/management/commands/ta_startup.py @@ -287,12 +287,6 @@ class Command(BaseCommand): new_conf.set_value("show_subed_only", subed_only) redis.del_message(subed_only_key) - sb_id_key = f"{user}:id_sb_id" - sb_id = redis.get_message(sb_id_key).get("status") - if sb_id is not None: - new_conf.set_value("sb_id_id", sb_id) - redis.del_message(sb_id_key) - for view in ["channel", "playlist", "home", "downloads"]: view_key = f"{user}:view:{view}" view_style = redis.get_message(view_key).get("status")