mirror of
https://github.com/DerrtSML/qbittorent_bot.git
synced 2025-10-25 20:10:08 +03:00
Update bot.py
This commit is contained in:
parent
309297cc34
commit
dff4845240
4
bot.py
4
bot.py
@ -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
|
||||
# Это также выполняет аутентификацию
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user