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:
@@ -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')
|
||||
|
Reference in New Issue
Block a user