Remove development dotenv loading

This commit is contained in:
Mark Veidemanis 2022-09-05 07:20:30 +01:00
parent 91e18c60e6
commit e34d281774
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 4 additions and 4 deletions

View File

@ -6,11 +6,11 @@ from sources.ch4 import Chan4
from sources.dis import DiscordClient
# For development
if not getenv("DISCORD_TOKEN", None):
print("Could not get Discord token, attempting load from .env")
from dotenv import load_dotenv
# if not getenv("DISCORD_TOKEN", None):
# print("Could not get Discord token, attempting load from .env")
# from dotenv import load_dotenv
load_dotenv()
# load_dotenv()
log = util.get_logger("monolith")