From 034b925f5bab2120bb8b39b0f10a4b5c10ab54f2 Mon Sep 17 00:00:00 2001 From: DerrtSML <93052047+DerrtSML@users.noreply.github.com> Date: Mon, 23 Jun 2025 17:13:34 +0300 Subject: [PATCH] Update bot.py --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()