Browse Source

Type definition not working

pull/6082/head
Ruud 9 years ago
parent
commit
b4db3fdadf
  1. 2
      couchpotato/core/settings.py

2
couchpotato/core/settings.py

@ -133,7 +133,7 @@ class Settings(object):
return None
try:
type = self.getType(section, option)
type = self.getType(section, option) if not type else type
if hasattr(self, 'get%s' % type.capitalize()):
return getattr(self, 'get%s' % type.capitalize())(section, option)

Loading…
Cancel
Save