diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-15 21:17:23 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-15 21:17:23 +0100 |
commit | 247ae6fbec98dbc42c3910df2942842ef5256715 (patch) | |
tree | e19892888e8abba85ac3aefd9a02997bd60563e0 /module/plugins/hoster | |
parent | keep downloaded files for debug report (diff) | |
download | pyload-247ae6fbec98dbc42c3910df2942842ef5256715.tar.xz |
fix test cases
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/BasePlugin.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/BasePlugin.py b/module/plugins/hoster/BasePlugin.py index 7b204b90d..0e9595265 100644 --- a/module/plugins/hoster/BasePlugin.py +++ b/module/plugins/hoster/BasePlugin.py @@ -1,12 +1,10 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- from urlparse import urlparse -from re import search -from urllib import unquote from module.network.HTTPRequest import BadHeader from module.plugins.Hoster import Hoster -from module.utils import html_unescape, remove_chars +from module.utils import html_unescape class BasePlugin(Hoster): __name__ = "BasePlugin" @@ -63,4 +61,4 @@ class BasePlugin(Hoster): def downloadFile(self, pyfile): pyfile.name = html_unescape(urlparse(pyfile.url).path.split("/")[-1]) - self.download(pyfile.url, disposition=True)
\ No newline at end of file + self.download(pyfile.url, disposition=True) |