]> git.lizzy.rs Git - nhentai.git/commitdiff
fix #146 #142 #146
authorRicter Z <ricterzheng@gmail.com>
Thu, 1 Oct 2020 16:51:37 +0000 (00:51 +0800)
committerRicter Z <ricterzheng@gmail.com>
Thu, 1 Oct 2020 16:51:37 +0000 (00:51 +0800)
nhentai/utils.py

index caa925b5982c794e11c5c240d6535f9b383ab245..d4b818360c4766db8245545894b5f2d4f6130ca3 100644 (file)
@@ -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)