summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-04 23:11:15 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-04 23:11:15 +0200
commit850c373f1a61b135cf71d13b9cde9c4d41463f9b (patch)
treed6c0bd18be3818ae1244b8b52516f03bc3c53c53 /module/plugins/Hook.py
parentclosed #338 (diff)
downloadpyload-850c373f1a61b135cf71d13b9cde9c4d41463f9b.tar.xz
fixed some bugs, new externalscripts plugin
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r--module/plugins/Hook.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 8a6355fcd..5e4b192ea 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -57,7 +57,9 @@ class Hook():
self.log = core.log
self.config = core.config
- self.interval = 60
+ self.interval = 60 #: periodic call interval in seconds
+
+ self.info = None #: Provide information in dict here, usable by API `getInfo`
self.setup()