Remove development dotenv loading
This commit is contained in:
parent
91e18c60e6
commit
e34d281774
|
@ -6,11 +6,11 @@ from sources.ch4 import Chan4
|
||||||
from sources.dis import DiscordClient
|
from sources.dis import DiscordClient
|
||||||
|
|
||||||
# For development
|
# For development
|
||||||
if not getenv("DISCORD_TOKEN", None):
|
# if not getenv("DISCORD_TOKEN", None):
|
||||||
print("Could not get Discord token, attempting load from .env")
|
# print("Could not get Discord token, attempting load from .env")
|
||||||
from dotenv import load_dotenv
|
# from dotenv import load_dotenv
|
||||||
|
|
||||||
load_dotenv()
|
# load_dotenv()
|
||||||
|
|
||||||
log = util.get_logger("monolith")
|
log = util.get_logger("monolith")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue