From 43f125418ed2ab93179ec473e35db777a0c423d1 Mon Sep 17 00:00:00 2001 From: anas Date: Sun, 8 Aug 2021 05:04:36 +0300 Subject: [PATCH] fix --- alive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alive.py b/alive.py index 3011beed31b..149e808bb5f 100644 --- a/alive.py +++ b/alive.py @@ -10,14 +10,14 @@ load_dotenv('config.env') try: - BASE_URL = getConfig('BASE_URL_OF_BOT') + BASE_URL = os.environ.get('BASE_URL_OF_BOT') if len(BASE_URL) == 0: BASE_URL = None except KeyError: BASE_URL = None try: - IS_VPS = getConfig('IS_VPS') + IS_VPS = os.environ.get('IS_VPS') if IS_VPS.lower() == 'true': IS_VPS = True else: