Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/commit/c2059584db9ae3a3c19c3fcfe205f7d72b9e4fcf?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed empty strings being saved as 'None' in config.ini.

pull/1509/head
morpheus65535 4 years ago
parent 83764bb07b
commit c2059584db

@ -318,7 +318,7 @@ def save_settings(settings_items):
# Make sure that text based form values aren't pass as list # Make sure that text based form values aren't pass as list
if isinstance(value, list) and len(value) == 1 and settings_keys[-1] not in array_keys: if isinstance(value, list) and len(value) == 1 and settings_keys[-1] not in array_keys:
value = value[0] value = value[0]
if value in empty_values: if value in empty_values and value is not '':
value = None value = None
# Make sure empty language list are stored correctly # Make sure empty language list are stored correctly

Loading…
Cancel
Save