Remove \n from filenames.

master
Ethan Dalool 2017-09-18 14:07:10 -07:00
parent 2a920eb4f9
commit 629b466c3a
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ HEADERS = {
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36'
}
FILENAME_BADCHARS = '*?"<>|\r'
FILENAME_BADCHARS = '*?"<>|\r\n'
last_request = 0
CHUNKSIZE = 4 * bytestring.KIBIBYTE