diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-14 03:10:20 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-14 03:10:20 +0200 |
commit | 9039b0d06803ea2fac6df101db3b8d1e0417a8c3 (patch) | |
tree | 6252bb0bd0b143a95f1c9abad81b500f1751ca75 /pyload/plugin/Plugin.py | |
parent | Merge pull request #4 from ardi69/0.4.10 (diff) | |
download | pyload-9039b0d06803ea2fac6df101db3b8d1e0417a8c3.tar.xz |
Cleanup (3)
Diffstat (limited to 'pyload/plugin/Plugin.py')
-rw-r--r-- | pyload/plugin/Plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/Plugin.py b/pyload/plugin/Plugin.py index 9e5f1e55b..3ccf94f34 100644 --- a/pyload/plugin/Plugin.py +++ b/pyload/plugin/Plugin.py @@ -244,7 +244,7 @@ class Plugin(Base): #: captcha task self.cTask = None - self.html = None # @TODO: Move to hoster class in 0.4.10 + self.html = None #@TODO: Move to hoster class in 0.4.10 self.retries = 0 self.init() @@ -538,7 +538,7 @@ class Plugin(Base): if not url: self.fail(_("No url given")) - url = urllib.unquote(encode(url).strip()) # @NOTE: utf8 vs decode -> please use decode attribute in all future plugins + url = urllib.unquote(encode(url).strip()) #@NOTE: utf8 vs decode -> please use decode attribute in all future plugins if self.core.debug: self.logDebug("Load url: " + url, *["%s=%s" % (key, val) for key, val in locals().iteritems() if key not in ("self", "url")]) |