diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-10 11:54:48 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-10 11:54:48 +0100 |
commit | acecd5f2f7ea1ade417e833650b2f4ea4ff14f80 (patch) | |
tree | c6c7e0ad0b24e11bf28f9ea62de226693f307160 /module/utils.py | |
parent | Re-add some dead crypters (diff) | |
download | pyload-acecd5f2f7ea1ade417e833650b2f4ea4ff14f80.tar.xz |
Don't remove backslash and colon when save_path on windows
Diffstat (limited to 'module/utils.py')
-rw-r--r-- | module/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, '/\\"') |