diff options
author | 2023-11-25 22:22:00 +0000 | |
---|---|---|
committer | 2023-11-25 22:22:00 +0000 | |
commit | 69c08d196f8bf8fe64fc954f2f4b9f19e10e078c (patch) | |
tree | 4570950b3907ee1a852fdcfa180b4c0e42718d46 /bot/__init__.py | |
parent | Update to pydantic 2.0 (diff) |
Remove the need for calling dotenv manually by using pydantic
Diffstat (limited to 'bot/__init__.py')
-rw-r--r-- | bot/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bot/__init__.py b/bot/__init__.py index 67165073..6646f2af 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -1,10 +1,3 @@ -try: - from dotenv import load_dotenv - print("Found .env file, loading environment variables from it.") # noqa: T201 - load_dotenv(override=True) -except ModuleNotFoundError: - pass - import asyncio import os from typing import TYPE_CHECKING |