Remove dotenv.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
aiohttp
|
||||
python-dotenv
|
||||
pyTelegramBotAPI
|
||||
schedule
|
||||
SQLAlchemy
|
||||
|
||||
@@ -38,8 +38,6 @@ propcache==0.2.1
|
||||
# yarl
|
||||
pytelegrambotapi==4.25.0
|
||||
# via -r requirements/common.in
|
||||
python-dotenv==1.0.1
|
||||
# via -r requirements/common.in
|
||||
requests==2.32.3
|
||||
# via pytelegrambotapi
|
||||
schedule==1.2.2
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
import logging
|
||||
import os
|
||||
|
||||
from dotenv import load_dotenv
|
||||
from telebot import logger
|
||||
|
||||
from .helpers import is_url_reachable
|
||||
|
||||
load_dotenv()
|
||||
|
||||
TOKEN = os.environ.get("STAN")
|
||||
if not TOKEN:
|
||||
|
||||
Reference in New Issue
Block a user