From a769430b042ab596d0eb3a699e2a1990b02b42e1 Mon Sep 17 00:00:00 2001 From: Anas <77075674+anasty17@users.noreply.github.com> Date: Mon, 9 Aug 2021 15:04:14 +0300 Subject: [PATCH] Update alive.py --- alive.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/alive.py b/alive.py index 5bc7fea..4d912f6 100644 --- a/alive.py +++ b/alive.py @@ -10,15 +10,14 @@ from dotenv import load_dotenv load_dotenv('config.env') try: - BASE_URL = os.environ.get('BASE_URL_OF_BOT') + BASE_URL = os.environ.get('BASE_URL_OF_BOT', None) if len(BASE_URL) == 0: BASE_URL = None except KeyError: BASE_URL = None -IS_VPS = False try: - IS_VPS = os.environ.get('IS_VPS') + IS_VPS = os.environ.get('IS_VPS', 'False') if IS_VPS.lower() == 'true': IS_VPS = True else: