mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -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':
|
if clientAgent == 'qbittorrent':
|
||||||
try:
|
try:
|
||||||
logger.debug("Connecting to {0}: http://{1}:{2}".format(clientAgent, core.QBITTORRENTHOST, core.QBITTORRENTPORT))
|
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)
|
tc.login(core.QBITTORRENTUSR, core.QBITTORRENTPWD)
|
||||||
except:
|
except:
|
||||||
logger.error("Failed to connect to qBittorrent")
|
logger.error("Failed to connect to qBittorrent")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue