summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-09 03:12:41 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-09 03:12:41 +0100
commit59f72bfc5ed721c80c821bd0ca1bc8daf0d49880 (patch)
tree05d0159405f2059bc89b3a55eab8ee4a94871aac /module/plugins/Hook.py
parent[PluginManager] Fix parse method (diff)
downloadpyload-59f72bfc5ed721c80c821bd0ca1bc8daf0d49880.tar.xz
Code cosmetics
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r--module/plugins/Hook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 18b54d8c0..424417752 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -26,7 +26,7 @@ class Hook(Base):
"""
__name__ = "Hook"
__type__ = "hook"
- __version__ = "0.02"
+ __version__ = "0.03"
__config__ = [] #: [("name", "type", "desc", "default")]
@@ -51,7 +51,7 @@ class Hook(Base):
Base.__init__(self, core)
#: Provide information in dict here, usable by API `getInfo`
- self.info = None
+ self.info = {}
#: Callback of periodical job task, used by hookmanager
self.cb = None