mirror of
https://github.com/DerrtSML/qbittorent_bot.git
synced 2026-08-27 14:07:54 +03:00
Update bot.py
This commit is contained in:
@@ -50,8 +50,8 @@ def init_qbittorrent_client():
|
||||
# qbittorrentapi ожидает хост без 'http://' и без порта
|
||||
qb = Client(
|
||||
host=f"{QBT_HOST}:{QBT_PORT}", # Хост и порт вместе
|
||||
username=QBT_USERNAME,
|
||||
password=QBT_PASSWORD
|
||||
username=admin,
|
||||
password=Derrty5Derrt5
|
||||
)
|
||||
# Проверим подключение, вызвав что-нибудь простое, например, api_version
|
||||
# Это также выполняет аутентификацию
|
||||
|
||||
Reference in New Issue
Block a user