From d2e68c6c45f11079ce588c64f91a7af1c4cc4460 Mon Sep 17 00:00:00 2001 From: Ricter Z Date: Fri, 2 Oct 2020 00:51:37 +0800 Subject: [PATCH] fix #146 #142 #146 --- nhentai/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nhentai/utils.py b/nhentai/utils.py index caa925b..d4b8183 100644 --- a/nhentai/utils.py +++ b/nhentai/utils.py @@ -233,8 +233,6 @@ and append a file extension like '.txt', so I avoid the potential of using an invalid filename. """ - return s - # maybe you can use `--format` to select a suitable filename valid_chars = "-_.()[] %s%s" % (string.ascii_letters, string.digits) filename = ''.join(c for c in s if c in valid_chars)