From b76520eb020f222f5ffaeb590e951c3d4afb4611 Mon Sep 17 00:00:00 2001 From: 5hojib Date: Fri, 27 Dec 2024 07:30:47 +0600 Subject: [PATCH] update config_manager.py --- bot/core/config_manager.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bot/core/config_manager.py b/bot/core/config_manager.py index 5abd013cf..f06c46be5 100644 --- a/bot/core/config_manager.py +++ b/bot/core/config_manager.py @@ -52,7 +52,6 @@ class Config: USER_TRANSMISSION = False UPSTREAM_REPO = "" UPSTREAM_BRANCH = "master" - USENET_SERVERS = [] USER_SESSION_STRING = "" USE_SERVICE_ACCOUNTS = False WEB_PINCODE = False @@ -110,9 +109,6 @@ def load_dict(cls, config_dict): elif key == "DOWNLOAD_DIR": if not value.endswith("/"): value = f"{value}/" - elif key == "USENET_SERVERS": - if not value[0].get("host"): - continue setattr(cls, key, value) for key in ["BOT_TOKEN", "OWNER_ID", "TELEGRAM_API", "TELEGRAM_HASH"]: value = getattr(cls, key)