Merge branch 'master' of github.com:CouchPotato/CouchPotato

Conflicts:
	couchpotato/core/plugins/searcher/__init__.py
This commit is contained in:
Ruud
2011-08-19 16:15:51 +02:00
37 changed files with 1183 additions and 81 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import os.path
import re
class Plugin():
class Plugin(object):
def conf(self, attr, default = None):
return Env.setting(attr, self.getName().lower(), default = default)
@@ -39,4 +39,4 @@ class Plugin():
return not self.isEnabled()
def isEnabled(self):
return self.conf('enabled')
return self.conf('enabled') or self.conf('enabled') == None