From e7ec92ed7e354e96bcb8eb36600e5d4022a82f21 Mon Sep 17 00:00:00 2001 From: tomtom602 Date: Thu, 17 Aug 2017 09:40:51 +0200 Subject: [PATCH] Update downloader.py --- nzbhydra/downloader.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nzbhydra/downloader.py b/nzbhydra/downloader.py index 775d3dc..e32538d 100644 --- a/nzbhydra/downloader.py +++ b/nzbhydra/downloader.py @@ -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()) @@ -291,4 +293,4 @@ def getInstanceBySetting(setting): return Nzbget(setting) raise DownloaderNotFoundException("No downloader with type %s found" % setting.type) - \ No newline at end of file +