summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-01 18:39:07 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-01 18:39:07 +0100
commit34588ba93bd9a2dad164cca7e9702083d3d373ad (patch)
treeeeedd45bb9d8820dac53831b324839409fae9fc8
parent[PluginManager] Better PATTERN (diff)
downloadpyload-34588ba93bd9a2dad164cca7e9702083d3d373ad.tar.xz
[Plugin] Declare self.html as empty string, not as None type
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 241c2c12a..7db733dc2 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -209,7 +209,7 @@ class Plugin(Base):
self.cTask = None #captcha task
self.retries = 0 # amount of retries already made
- self.html = None # some plugins store html code here
+ self.html = "" # some plugins store html code here
self.init()