mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user