From cda0feb42a297fbe31cfcc3ec4deddbbcf475e83 Mon Sep 17 00:00:00 2001 From: josdion Date: Tue, 21 Apr 2020 12:39:50 +0300 Subject: [PATCH] set base_url default value if it's empty string in config.ini This can happen if switching back from hermes branch as it uses empty string as a default value of base_url. --- bazarr/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/config.py b/bazarr/config.py index b64040ebf..3efd8ecda 100644 --- a/bazarr/config.py +++ b/bazarr/config.py @@ -150,7 +150,7 @@ else: settings = simpleconfigparser(defaults=defaults) settings.read(os.path.join(args.config_dir, 'config', 'config.ini')) -base_url = settings.general.base_url +base_url = settings.general.base_url if settings.general.base_url else '/' def url_sonarr():