diff options
author | morpheus65535 <[email protected]> | 2021-08-11 09:39:59 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-08-11 09:39:59 -0400 |
commit | 0e763b79d52cd71d43bd65fe1f14abed0bd585a7 (patch) | |
tree | d3124cf257d69383c2ddba0f5e0c2b5e14e539e2 | |
parent | c05db9f8c5731351304ec01aec9d7ad3ce3cebf8 (diff) | |
download | bazarr-0e763b79d52cd71d43bd65fe1f14abed0bd585a7.tar.gz bazarr-0e763b79d52cd71d43bd65fe1f14abed0bd585a7.zip |
no log: quick fix
-rw-r--r-- | bazarr/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/config.py b/bazarr/config.py index 04183895c..1b2a3c655 100644 --- a/bazarr/config.py +++ b/bazarr/config.py @@ -318,7 +318,7 @@ def save_settings(settings_items): # 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: value = value[0] - if value in empty_values and value is not '': + if value in empty_values and value != '': value = None # Make sure empty language list are stored correctly |