diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-09 03:12:41 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-09 03:12:41 +0100 |
commit | 59f72bfc5ed721c80c821bd0ca1bc8daf0d49880 (patch) | |
tree | 05d0159405f2059bc89b3a55eab8ee4a94871aac /module/plugins/Hook.py | |
parent | [PluginManager] Fix parse method (diff) | |
download | pyload-59f72bfc5ed721c80c821bd0ca1bc8daf0d49880.tar.xz |
Code cosmetics
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r-- | module/plugins/Hook.py | 4 |
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 |