diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-08-31 15:30:33 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-08-31 15:30:33 +0200 |
commit | a321e0d4ab22373933c7d9c0a0d26996889004a5 (patch) | |
tree | db57afef8689aac95f62c76fd6c0124bad304456 /docs | |
parent | added confirmation dialog before deleting a package (diff) | |
download | pyload-a321e0d4ab22373933c7d9c0a0d26996889004a5.tar.xz |
Diffstat (limited to 'docs')
-rw-r--r-- | docs/write_hooks.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/write_hooks.rst b/docs/write_hooks.rst index ffc41d705..dd60367b7 100644 --- a/docs/write_hooks.rst +++ b/docs/write_hooks.rst @@ -19,7 +19,7 @@ All Hooks should start with something like this: :: from module.plugins.Hook import Hook class YourHook(Hook): - __name__ = "My own Hook" + __name__ = "YourHook" __version__ = "0.1" __description__ = "Does really cool stuff" __config__ = [ ("activated" , "bool" , "Activated" , "True" ) ] @@ -159,4 +159,4 @@ Example ------- Sorry but you won't find an example here ;-) - Look at :file:`module/plugins/hooks` and you will find plenty examples there.
\ No newline at end of file + Look at :file:`module/plugins/hooks` and you will find plenty examples there. |