diff --git a/update.py b/update.py index c2c3624..48dca8d 100644 --- a/update.py +++ b/update.py @@ -3,6 +3,9 @@ from rss import RssReader from update_manager import UpdateManager from database import Database from telegram import Notifier +from dotenv import load_dotenv + +load_dotenv() token = os.getenv('TELEGRAM_TOKEN') db_path = os.getenv('DATABASE_PATH')