mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 01:07:36 +08:00
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.
This commit is contained in:
parent
6a34f2d35f
commit
cda0feb42a
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue