Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anasty17 committed Aug 8, 2021
1 parent 1373d5d commit 43f1254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alive.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 43f1254

Please sign in to comment.