Skip to content

Commit

Permalink
fixed load_dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
ayaabb committed Jul 28, 2024
1 parent d4b9578 commit 5f7e386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion handlers/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import requests
from dotenv import load_dotenv

load_dotenv()
load_dotenv('.env')

async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
await update.message.reply_text('Hello! I am your bot. How can I help you?')
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ typer==0.12.3
typing_extensions==4.12.2
urllib3==2.2.2
uvicorn==0.30.3
uvloop==0.19.0
watchfiles==0.22.0
websockets==12.0
websockets==12.0

0 comments on commit 5f7e386

Please sign in to comment.