diff --git a/couchpotato/core/plugins/manage/main.py b/couchpotato/core/plugins/manage/main.py index ead5b6ea..9ef2a9c2 100644 --- a/couchpotato/core/plugins/manage/main.py +++ b/couchpotato/core/plugins/manage/main.py @@ -198,9 +198,12 @@ class Manage(Plugin): def directories(self): try: - return splitString(self.conf('library', default = ''), '::') + if self.conf('library', '').strip(): + return splitString(self.conf('library', default = ''), '::') except: - return [] + pass + + return [] def scanFilesToLibrary(self, folder = None, files = None):