Skip to content

Commit

Permalink
src: Bot: override env with dotenv when possible
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimifr committed Mar 23, 2024
1 parent 2a4c823 commit 20f62d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


def main() -> None:
load_dotenv()
load_dotenv(override=True)

api_id = getenv("API_ID", 0)
api_hash = getenv("API_HASH", "")
Expand Down

0 comments on commit 20f62d6

Please sign in to comment.