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
dff4845240
commit
b4f46fa56c
2
bot.py
2
bot.py
@ -49,7 +49,7 @@ def init_qbittorrent_client():
|
||||
# Используйте 'host' вместо 'f"http://{QBT_HOST}:{QBT_PORT}/"'
|
||||
# qbittorrentapi ожидает хост без 'http://' и без порта
|
||||
qb = Client(
|
||||
host=f"{QBT_HOST}:{QBT_PORT}", # Хост и порт вместе
|
||||
host=f"{192.169.1.42}:{19080}", # Хост и порт вместе
|
||||
username=admin,
|
||||
password=Derrty5Derrt5
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user