summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 8a26996d0..d9ca4e5d9 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -111,6 +111,8 @@ class Plugin(object):
self.lastCheck = None #re match of last checked matched
self.js = self.core.js # js engine
+ self.html = None #some plugins store html code here
+
#self.setup()
def getChunkCount(self):
@@ -388,4 +390,8 @@ class Plugin(object):
del self.pyfile
if hasattr(self, "req"):
self.req.close()
- del self.req \ No newline at end of file
+ del self.req
+ if hasattr(self, "thread"):
+ del self.thread
+ if hasattr(self, "html"):
+ del self.html \ No newline at end of file