mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
undo whitespace edits
This commit is contained in:
parent
2cf4e6718e
commit
bd38294bb7
@ -243,7 +243,7 @@ def format_filename(s):
|
|||||||
It used to be a whitelist approach allowed only alphabet and a part of symbols.
|
It used to be a whitelist approach allowed only alphabet and a part of symbols.
|
||||||
but most doujinshi's names include Japanese 2-byte characters and these was rejected.
|
but most doujinshi's names include Japanese 2-byte characters and these was rejected.
|
||||||
so it is using blacklist approach now.
|
so it is using blacklist approach now.
|
||||||
if filename include forbidden characters (\'/:,;*?"<>|) ,it replace space character(' ').
|
if filename include forbidden characters (\'/:,;*?"<>|) ,it replace space character(' ').
|
||||||
"""
|
"""
|
||||||
# maybe you can use `--format` to select a suitable filename
|
# maybe you can use `--format` to select a suitable filename
|
||||||
ban_chars = '\\\'/:,;*?"<>|\t'
|
ban_chars = '\\\'/:,;*?"<>|\t'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user