mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 17:13:35 +08:00
Fix for #151
This commit is contained in:
parent
20b315a368
commit
9611f18d71
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ def get_general_settings():
|
|||
|
||||
if cfg.has_option('general', 'base_url'):
|
||||
base_url = cfg.get('general', 'base_url')
|
||||
if base_url.endswith('/') is False:
|
||||
base_url += '/'
|
||||
else:
|
||||
base_url = '/'
|
||||
|
||||
|
|
Loading…
Reference in a new issue