1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-16 16:17:39 +00:00

Bugfixes from testrun

This commit is contained in:
Ozzie Isaacs
2021-08-30 08:02:21 +02:00
parent 4d92d7da3a
commit 86ef1d47e8
4 changed files with 1213 additions and 1217 deletions

View File

@@ -234,7 +234,7 @@ def get_valid_filename(value, replace_whitespace=True):
value = value[:-1]+u'_'
value = value.replace("/", "_").replace(":", "_").strip('\0')
if use_unidecode:
if config.config_unicode_filename:
if not config.config_unicode_filename:
value = (unidecode.unidecode(value))
else:
value = value.replace(u'§', u'SS')