Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/theotherp/nzbhydra
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Oct 5, 2017
2 parents 0f6c41b + 0b7c99f commit 14b0af1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nzbhydra/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def get_rpc(self, host=None, ssl=None, port=None, username=None, password=None):
f.scheme = "https" if ssl else "http"
f.port = port
if username is not None and password is not None:
f.path.add("%s:%s" % (username, password))
#f.path.add("%s:%s" % (username, password))
f.username = username
f.password = password
f.path.add("xmlrpc")

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



0 comments on commit 14b0af1

Please sign in to comment.