Skip to content

Commit 14b0af1

Browse files
theotherp@gmx.detheotherp@gmx.de
authored andcommitted
Merge branch 'master' of https://github.com/theotherp/nzbhydra
2 parents 0f6c41b + 0b7c99f commit 14b0af1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nzbhydra/downloader.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ def get_rpc(self, host=None, ssl=None, port=None, username=None, password=None):
5858
f.scheme = "https" if ssl else "http"
5959
f.port = port
6060
if username is not None and password is not None:
61-
f.path.add("%s:%s" % (username, password))
61+
#f.path.add("%s:%s" % (username, password))
62+
f.username = username
63+
f.password = password
6264
f.path.add("xmlrpc")
6365

6466
return xmlrpc.client.ServerProxy(f.tostr())
@@ -291,4 +293,4 @@ def getInstanceBySetting(setting):
291293
return Nzbget(setting)
292294
raise DownloaderNotFoundException("No downloader with type %s found" % setting.type)
293295

294-
296+

0 commit comments

Comments
 (0)