Update bot.py

This commit is contained in:
DerrtSML 2025-06-23 17:34:35 +03:00 committed by GitHub
parent dff4845240
commit b4f46fa56c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
bot.py
View File

@ -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
)