From 4102d3ca8155fdada117e18dce0b36d4069fd077 Mon Sep 17 00:00:00 2001 From: codezjx Date: Mon, 8 Oct 2018 19:15:21 +0800 Subject: [PATCH] #35 Bugfix: Fix invalid argument error when file name contain illegal character '\t'. --- ncm/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncm/downloader.py b/ncm/downloader.py index 4f685c4..ea5c2f2 100644 --- a/ncm/downloader.py +++ b/ncm/downloader.py @@ -127,4 +127,4 @@ def format_string(string): """ Replace illegal character with ' ' """ - return re.sub(r'[\\/:*?"<>|]', ' ', string) + return re.sub(r'[\\/:*?"<>|\t]', ' ', string)