From 27d9225c3fb14db0b0a778fc21b28a8957c956b2 Mon Sep 17 00:00:00 2001 From: bwq Date: Sat, 23 Jun 2012 16:49:07 +0200 Subject: [PATCH] - fixed UnboundLocalError (forgot to init opener) --- couchpotato/core/plugins/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/couchpotato/core/plugins/base.py b/couchpotato/core/plugins/base.py index 68a24a2e..469108dc 100644 --- a/couchpotato/core/plugins/base.py +++ b/couchpotato/core/plugins/base.py @@ -215,6 +215,7 @@ class Plugin(object): cache_timeout = kwargs.get('cache_timeout') del kwargs['cache_timeout'] + opener = None if kwargs.get('opener'): opener = kwargs.get('opener') del kwargs['opener']