mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
fix tuple index error preventing qbittorrent login. Fixes #1300
This commit is contained in:
parent
d67ed51104
commit
4fa0dc4572
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ def create_torrent_class(clientAgent):
|
|||
if clientAgent == 'qbittorrent':
|
||||
try:
|
||||
logger.debug("Connecting to {0}: http://{1}:{2}".format(clientAgent, core.QBITTORRENTHOST, core.QBITTORRENTPORT))
|
||||
tc = qBittorrentClient("http://{1}:{2}/".format(core.QBITTORRENTHOST, core.QBITTORRENTPORT))
|
||||
tc = qBittorrentClient("http://{0}:{1}/".format(core.QBITTORRENTHOST, core.QBITTORRENTPORT))
|
||||
tc.login(core.QBITTORRENTUSR, core.QBITTORRENTPWD)
|
||||
except:
|
||||
logger.error("Failed to connect to qBittorrent")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue