summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-02 00:43:47 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-02 00:43:47 +0200
commit2f399727c8b3d7515549acf34bddb64f4bc9e4b5 (patch)
tree5f57de5d4fe9bc666290af72cda4c7529aaa06a8 /module/HookManager.py
parentremoved unnecessary files (diff)
downloadpyload-2f399727c8b3d7515549acf34bddb64f4bc9e4b5.tar.xz
fixed cnl
Diffstat (limited to 'module/HookManager.py')
-rw-r--r--module/HookManager.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index 279fdbaa7..fa6df3323 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -64,6 +64,13 @@ class HookManager():
self.plugins = plugins
self.lock.release()
+ def coreReady(self):
+ self.lock.acquire()
+
+ for plugin in self.plugins:
+ plugin.coreReady()
+ self.lock.release()
+
def downloadStarts(self, pyfile):
self.lock.acquire()