Skip to content

Commit

Permalink
Update downloader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtom602 authored Aug 17, 2017
1 parent 81789f5 commit e7ec92e
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 e7ec92e

Please sign in to comment.