mirror of
https://github.com/DerrtSML/qbittorent_bot.git
synced 2026-08-27 15:27:54 +03:00
Update bot.py
This commit is contained in:
@@ -49,7 +49,7 @@ def init_qbittorrent_client():
|
|||||||
# Используйте 'host' вместо 'f"http://{QBT_HOST}:{QBT_PORT}/"'
|
# Используйте 'host' вместо 'f"http://{QBT_HOST}:{QBT_PORT}/"'
|
||||||
# qbittorrentapi ожидает хост без 'http://' и без порта
|
# qbittorrentapi ожидает хост без 'http://' и без порта
|
||||||
qb = Client(
|
qb = Client(
|
||||||
host=f"{QBT_HOST}:{QBT_PORT}", # Хост и порт вместе
|
host=f"{192.169.1.42}:{19080}", # Хост и порт вместе
|
||||||
username=admin,
|
username=admin,
|
||||||
password=Derrty5Derrt5
|
password=Derrty5Derrt5
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user