From 87ce49f199ddd26661869e77f11a52f63a32db67 Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Wed, 27 Sep 2023 18:49:33 +0530 Subject: [PATCH] Config revert. --- app/config.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/config.py b/app/config.py index 441af19..753c28d 100644 --- a/app/config.py +++ b/app/config.py @@ -6,10 +6,7 @@ from pyrogram.filters import Filter from pyrogram.types import Message -class _Config: - def __str__(self): - return json.dumps(self.__dict__, indent=4, ensure_ascii=False) - +class Config: CMD_DICT: dict["str", Callable] = {} CONVO_DICT: dict[int, dict[str | int, Message | Filter | None]] = {} @@ -27,6 +24,3 @@ class _Config: UPSTREAM_REPO: str = os.environ.get( "UPSTREAM_REPO", "https://github.com/thedragonsinn/plain-ub" ) - - -Config = _Config()