From 592288cb222a0507d7c6ce9fb667f1dfc4ac609a Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sun, 19 Dec 2021 08:04:13 +0100 Subject: [PATCH] Fix inverted "convert to English characters" setting --- cps/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/helper.py b/cps/helper.py index 2c2c3cad..e4305550 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -233,7 +233,7 @@ def get_valid_filename(value, replace_whitespace=True): value = value[:-1]+u'_' value = value.replace("/", "_").replace(":", "_").strip('\0') if use_unidecode: - if not config.config_unicode_filename: + if config.config_unicode_filename: value = (unidecode.unidecode(value)) else: value = value.replace(u'ยง', u'SS')