From 9039b0d06803ea2fac6df101db3b8d1e0417a8c3 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 14 Apr 2015 03:10:20 +0200 Subject: Cleanup (3) --- pyload/plugin/Plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugin/Plugin.py') 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")]) -- cgit v1.2.3