diff --git a/bot.py b/bot.py index d3cbe23..26e8f12 100644 --- a/bot.py +++ b/bot.py @@ -9,7 +9,7 @@ from telegram.ext import ( CallbackQueryHandler, ContextTypes, ) -from qbittorrent import Client, APIError +from qbittorrentapi import Client, APIError # Настройка логирования logging.basicConfig( @@ -178,4 +178,4 @@ if __name__ == "__main__": exit(1) if not all([QBT_HOST, QBT_USERNAME, QBT_PASSWORD]): logger.warning("QBittorrent connection details (QBT_HOST, QBT_USERNAME, QBT_PASSWORD) are not fully set. Bot will attempt to connect on first use of qBittorrent related commands.") - main() \ No newline at end of file + main()