From bd38294bb7ca69967302486073e02aceaa762669 Mon Sep 17 00:00:00 2001 From: Lieuwe Leene Date: Sun, 16 May 2021 19:49:26 +0200 Subject: [PATCH] undo whitespace edits --- nhentai/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.44.0