From acecd5f2f7ea1ade417e833650b2f4ea4ff14f80 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 10 Nov 2014 11:54:48 +0100 Subject: Don't remove backslash and colon when save_path on windows --- module/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/utils.py b/module/utils.py index 42dc9e1cc..05ff38a22 100644 --- a/module/utils.py +++ b/module/utils.py @@ -36,7 +36,7 @@ def remove_chars(string, repl): def save_path(name): #remove some chars if os.name == 'nt': - return remove_chars(name, '/\\?%*:|"<>') + return remove_chars(name, '/?%*|"<>') else: return remove_chars(name, '/\\"') -- cgit v1.2.3