From: Lieuwe Leene Date: Sun, 16 May 2021 17:49:26 +0000 (+0200) Subject: undo whitespace edits X-Git-Tag: 0.4.17~8^2^2 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=bd38294bb7ca69967302486073e02aceaa762669;p=nhentai.git undo whitespace edits --- diff --git a/nhentai/utils.py b/nhentai/utils.py index c076cf8..dd74e66 100644 --- a/nhentai/utils.py +++ b/nhentai/utils.py @@ -243,7 +243,7 @@ def format_filename(s): 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. 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 ban_chars = '\\\'/:,;*?"<>|\t'