diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-11 15:14:28 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-11 15:14:28 +0200 |
commit | f76e5c2336718dca9da8033ba22cd83c72c7b3b3 (patch) | |
tree | 5e4152ed534417ba24c04aedfb2a4070ae669372 /module/plugins/hoster/VeehdCom.py | |
parent | [FileshareInUa] Mark dead (diff) | |
download | pyload-f76e5c2336718dca9da8033ba22cd83c72c7b3b3.tar.xz |
Pattern update 1
Diffstat (limited to 'module/plugins/hoster/VeehdCom.py')
-rw-r--r-- | module/plugins/hoster/VeehdCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/VeehdCom.py b/module/plugins/hoster/VeehdCom.py index 50d24f4c9..f82d429d1 100644 --- a/module/plugins/hoster/VeehdCom.py +++ b/module/plugins/hoster/VeehdCom.py @@ -59,9 +59,9 @@ class VeehdCom(Hoster): # replace unwanted characters in filename if self.getConfig('filename_spaces'): - pattern = '[^0-9A-Za-z\.\ ]+' + pattern = '[^\w ]+' else: - pattern = '[^0-9A-Za-z\.]+' + pattern = '[^\w.]+' return re.sub(pattern, self.getConfig('replacement_char'), name) + '.avi' |