From 1a846b04ee63d2f4cdeb40abe80d4e85328653ff Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Sat, 27 Apr 2013 11:26:52 +0930 Subject: [PATCH] Fix minor errors. Fix #1666 --- couchpotato/core/downloaders/nzbget/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/downloaders/nzbget/main.py b/couchpotato/core/downloaders/nzbget/main.py index 0f1bfcdf..c060a334 100644 --- a/couchpotato/core/downloaders/nzbget/main.py +++ b/couchpotato/core/downloaders/nzbget/main.py @@ -16,7 +16,7 @@ class NZBGet(Downloader): type = ['nzb'] - url = 'http://%(username):%(password)s@%(host)s/xmlrpc' + url = 'http://%(username)s:%(password)s@%(host)s/xmlrpc' def download(self, data = {}, movie = {}, filedata = None): @@ -103,7 +103,7 @@ class NZBGet(Downloader): try: nzb_id = [param['Value'] for param in item['Parameters'] if param['Name'] == 'couchpotato'][0] except: - nzb_id = item['NZBID'], + nzb_id = item['NZBID'] statuses.append({ 'id': nzb_id, 'name': item['NZBFilename'], @@ -126,7 +126,7 @@ class NZBGet(Downloader): try: nzb_id = [param['Value'] for param in item['Parameters'] if param['Name'] == 'couchpotato'][0] except: - nzb_id = item['NZBID'], + nzb_id = item['NZBID'] statuses.append({ 'id': nzb_id, 'name': item['NZBFilename'],