summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BasePlugin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-02 15:06:51 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-02 15:06:51 +0100
commit9264524775c766a5d91da586cfb435da989a0629 (patch)
tree0f4c1a799de235118eb891b3aca97bfbe67bf14f /module/plugins/hoster/BasePlugin.py
parentupdate ul.to (diff)
downloadpyload-9264524775c766a5d91da586cfb435da989a0629.tar.xz
closed #440
Diffstat (limited to 'module/plugins/hoster/BasePlugin.py')
-rw-r--r--module/plugins/hoster/BasePlugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py
index 15e35ce24..2de47940d 100644
--- a/module/plugins/hoster/BasePlugin.py
+++ b/module/plugins/hoster/BasePlugin.py
@@ -6,7 +6,7 @@ from urllib import unquote
from module.network.HTTPRequest import BadHeader
from module.plugins.Hoster import Hoster
-from module.utils import html_unescape, removeChars
+from module.utils import html_unescape, remove_chars
class BasePlugin(Hoster):
__name__ = "BasePlugin"
@@ -80,7 +80,7 @@ class BasePlugin(Hoster):
disp = m.groupdict()
self.logDebug(disp)
if not disp['enc']: disp['enc'] = 'utf-8'
- name = removeChars(disp['name'], "\"';").strip()
+ name = remove_chars(disp['name'], "\"';").strip()
name = unicode(unquote(name), disp['enc'])
if not name: name = url