From b32d4fc42da353e1763c277a28de7fabebbe4d95 Mon Sep 17 00:00:00 2001 From: mano3m <-> Date: Thu, 1 Aug 2013 23:24:25 +0200 Subject: [PATCH] Fix NZBGet url issue --- couchpotato/core/downloaders/nzbget/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/couchpotato/core/downloaders/nzbget/main.py b/couchpotato/core/downloaders/nzbget/main.py index c90cd2db..ef9d4efa 100644 --- a/couchpotato/core/downloaders/nzbget/main.py +++ b/couchpotato/core/downloaders/nzbget/main.py @@ -33,7 +33,7 @@ class NZBGet(Downloader): rpc = xmlrpclib.ServerProxy(url) try: if rpc.writelog('INFO', 'CouchPotato connected to drop off %s.' % nzb_name): - log.info('Successfully connected to NZBGet') + log.debug('Successfully connected to NZBGet') else: log.info('Successfully connected to NZBGet, but unable to send a message') except socket.error: @@ -74,7 +74,7 @@ class NZBGet(Downloader): rpc = xmlrpclib.ServerProxy(url) try: if rpc.writelog('INFO', 'CouchPotato connected to check status'): - log.info('Successfully connected to NZBGet') + log.debug('Successfully connected to NZBGet') else: log.info('Successfully connected to NZBGet, but unable to send a message') except socket.error: @@ -152,12 +152,12 @@ class NZBGet(Downloader): log.info('%s failed downloading, deleting...', item['name']) - url = self.url % {'host': self.conf('host'), 'password': self.conf('password')} + url = self.url % {'host': self.conf('host'), 'username': self.conf('username'), 'password': self.conf('password')} rpc = xmlrpclib.ServerProxy(url) try: if rpc.writelog('INFO', 'CouchPotato connected to delete some history'): - log.info('Successfully connected to NZBGet') + log.debug('Successfully connected to NZBGet') else: log.info('Successfully connected to NZBGet, but unable to send a message') except socket.error: