diff --git a/core/__init__.py b/core/__init__.py index 40006ffe..7906c59b 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -398,7 +398,7 @@ def configure_general(): FFMPEG_PATH = CFG['General']['ffmpeg_path'] SYS_PATH = CFG['General']['sys_path'] CHECK_MEDIA = int(CFG['General']['check_media']) - REQUIRE_LAN = CFG['General']['require_lan'].split(',') or None + REQUIRE_LAN = None if not CFG['General']['require_lan'] else CFG['General']['require_lan'].split(',') SAFE_MODE = int(CFG['General']['safe_mode']) NOEXTRACTFAILED = int(CFG['General']['no_extract_failed'])