summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/VeehdCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-12 13:11:11 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-12 13:11:11 +0200
commitfc638ded28b7b222203fba9907b6bf7f828d1b7b (patch)
tree7bc4f95042c9f4a036901837e74248b257506675 /pyload/plugins/hoster/VeehdCom.py
parentadded legacy file to fix older plugins (diff)
parentMerge pull request #193 from vuolter/plugin/UnrestrictLi (diff)
downloadpyload-fc638ded28b7b222203fba9907b6bf7f828d1b7b.tar.xz
Merge remote-tracking branch 'origin/stable'
Conflicts: module/plugins/accounts/Premium4Me.py pyload/plugins/addons/Premium4Me.py pyload/plugins/crypter/NCryptIn.py pyload/plugins/hooks/Captcha9kw.py pyload/plugins/hoster/Premium4Me.py pyload/plugins/hoster/Xdcc.py pyload/plugins/hoster/XvidstageCom.py
Diffstat (limited to 'pyload/plugins/hoster/VeehdCom.py')
-rw-r--r--pyload/plugins/hoster/VeehdCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/hoster/VeehdCom.py b/pyload/plugins/hoster/VeehdCom.py
index 23048b831..d4422afc3 100644
--- a/pyload/plugins/hoster/VeehdCom.py
+++ b/pyload/plugins/hoster/VeehdCom.py
@@ -11,7 +11,7 @@ class VeehdCom(Hoster):
('filename_spaces', 'bool', "Allow spaces in filename", 'False'),
('replacement_char', 'str', "Filename replacement character", '_'),
]
- __version__ = '0.2'
+ __version__ = '0.21'
__description__ = """Veehd.com Download Hoster"""
__author_name__ = ('cat')
__author_mail__ = ('cat@pyload')
@@ -55,12 +55,12 @@ class VeehdCom(Hoster):
name = match.group(1)
# replace unwanted characters in filename
- if self.getConf('filename_spaces'):
+ if self.getConfig('filename_spaces'):
pattern = '[^0-9A-Za-z\.\ ]+'
else:
pattern = '[^0-9A-Za-z\.]+'
- name = re.sub(pattern, self.getConf('replacement_char'),
+ name = re.sub(pattern, self.getConfig('replacement_char'),
name)
return name + '.avi'