From fdb7855348e36bc54058fdd9e3b92d448033431e Mon Sep 17 00:00:00 2001 From: bwq Date: Thu, 5 Jul 2012 22:29:15 +0200 Subject: [PATCH] Small log fix. --- couchpotato/core/downloaders/pneumatic/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/downloaders/pneumatic/main.py b/couchpotato/core/downloaders/pneumatic/main.py index 6477889..c518eff 100644 --- a/couchpotato/core/downloaders/pneumatic/main.py +++ b/couchpotato/core/downloaders/pneumatic/main.py @@ -18,7 +18,7 @@ class Pneumatic(Downloader): directory = self.conf('directory') if not directory or not os.path.isdir(directory): - log.error('No directory set for .strm downloads.', data.get('type')) + log.error('No directory set for .strm downloads.') else: try: if not filedata or len(filedata) < 50: @@ -48,7 +48,7 @@ class Pneumatic(Downloader): return True except: - log.error('Failed to download .strm', traceback.format_exc()) + log.error('Failed to download .strm: %s', traceback.format_exc()) pass except: