diff options
author | 2013-03-12 12:49:42 +0100 | |
---|---|---|
committer | 2013-03-12 12:49:42 +0100 | |
commit | 6232db5a1d3b8b5e4412af67d5bc7ca65f94333c (patch) | |
tree | 02a95e1216ace355d84a9704fb9070bd744b17c2 /docs | |
parent | added missing file (diff) | |
download | pyload-6232db5a1d3b8b5e4412af67d5bc7ca65f94333c.tar.xz |
renamed most events, push events to webui
Diffstat (limited to 'docs')
-rw-r--r-- | docs/plugins/addon_plugin.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/plugins/addon_plugin.rst b/docs/plugins/addon_plugin.rst index c2258f2aa..e18bd6b0f 100644 --- a/docs/plugins/addon_plugin.rst +++ b/docs/plugins/addon_plugin.rst @@ -59,7 +59,7 @@ What a basic excerpt would look like: :: Your Hook code here. """ - def coreReady(self): + def activate(self): print "Yay, the core is ready let's do some work." def downloadFinished(self, pyfile): @@ -147,7 +147,7 @@ Just store everything in ``self.info``. :: def setup(self): self.info = {"running": False} - def coreReady(self): + def activate(self): self.info["running"] = True Usable with: :: |