diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-05 23:03:43 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-05 23:03:43 +0200 |
commit | 81508f295cffc40c479fe72f24bdf1dbbedf5d92 (patch) | |
tree | 0cb68f0a525d0ead0cd8130c3adad150c49b81a7 /module/plugins/hooks/ContainerDownload.py | |
parent | megavideo.com plugin (diff) | |
download | pyload-81508f295cffc40c479fe72f24bdf1dbbedf5d92.tar.xz |
refactored plugins, new plugin manager
Diffstat (limited to 'module/plugins/hooks/ContainerDownload.py')
-rw-r--r-- | module/plugins/hooks/ContainerDownload.py | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/module/plugins/hooks/ContainerDownload.py b/module/plugins/hooks/ContainerDownload.py index f520b705c..673931391 100644 --- a/module/plugins/hooks/ContainerDownload.py +++ b/module/plugins/hooks/ContainerDownload.py @@ -23,15 +23,11 @@ from module.plugins.Hook import Hook from os.path import join, abspath class ContainerDownload(Hook): - def __init__(self, core): - Hook.__init__(self, core) - props = {} - props['name'] = "ContainerDownload" - props['version'] = "0.1" - props['description'] = """add the downloaded container to current package""" - props['author_name'] = ("mkaay") - props['author_mail'] = ("mkaay@mkaay.de") - self.props = props + __name__ = "ContainerDownload" + __version__ = "0.1" + __description__ = """add the downloaded container to current package""" + __author_name__ = ("mkaay") + __author_mail__ = ("mkaay@mkaay.de") def downloadFinished(self, pyfile): filename = pyfile.status.filename |