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