Browse Source

Merge branch 'develop' of git://github.com/clinton-hall/CouchPotatoServer into clinton-hall-develop

pull/1673/head
Ruud 12 years ago
parent
commit
840efb1571
  1. 6
      couchpotato/core/downloaders/nzbget/main.py

6
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'],

Loading…
Cancel
Save