summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Plugin.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 07:44:07 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 07:44:07 +0200
commit84f2193d76f7c6f47c834dc8902d8ead8e45a11a (patch)
treeabcb748a676991f5987a8cd78a0814889d175656 /module/plugins/internal/Plugin.py
parent[AntiStandby] Improve linux_standby (diff)
downloadpyload-84f2193d76f7c6f47c834dc8902d8ead8e45a11a.tar.xz
Fix https://github.com/pyload/pyload/issues/1640 (2)
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-rw-r--r--module/plugins/internal/Plugin.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py
index 3d53b7d2d..601acd491 100644
--- a/module/plugins/internal/Plugin.py
+++ b/module/plugins/internal/Plugin.py
@@ -142,7 +142,7 @@ def chunks(iterable, size):
class Plugin(object):
__name__ = "Plugin"
__type__ = "hoster"
- __version__ = "0.24"
+ __version__ = "0.25"
__status__ = "testing"
__pattern__ = r'^unmatchable$'
@@ -157,10 +157,14 @@ class Plugin(object):
def __init__(self, core):
+ self._init(core)
+ self.init()
+
+
+ def _init(self, core):
self.pyload = core
self.info = {} #: Provide information in dict here
self.req = None
- self.init()
def init(self):