diff options
author | ardi69 <armin@diedering.de> | 2015-04-14 18:05:25 +0200 |
---|---|---|
committer | ardi69 <armin@diedering.de> | 2015-04-14 18:05:25 +0200 |
commit | 91cf42eb3e534c3c6da6d0ebcd0e43beb6fa387e (patch) | |
tree | 43abafdebcfd77a0e90a5f13ffcc08b0c5f7819a /pyload/plugin/Plugin.py | |
parent | fix typo (diff) | |
parent | Cleanup (3) (diff) | |
download | pyload-91cf42eb3e534c3c6da6d0ebcd0e43beb6fa387e.tar.xz |
Merge pull request #1 from vuolter/0.4.10
merge from vuolter/pyload
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")]) |