From 81508f295cffc40c479fe72f24bdf1dbbedf5d92 Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 5 May 2010 23:03:43 +0200 Subject: refactored plugins, new plugin manager --- module/plugins/hooks/LinuxFileEvents.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'module/plugins/hooks/LinuxFileEvents.py') diff --git a/module/plugins/hooks/LinuxFileEvents.py b/module/plugins/hooks/LinuxFileEvents.py index da1b06f13..44f3f00e8 100644 --- a/module/plugins/hooks/LinuxFileEvents.py +++ b/module/plugins/hooks/LinuxFileEvents.py @@ -22,14 +22,15 @@ from module.plugins.Hook import Hook import os class LinuxFileEvents(Hook): + __name__ = "LinuxFileEvents" + __version__ = "0.1" + __description__ = """monitors files and directories for changes""" + __author_name__ = ("mkaay") + __author_mail__ = ("mkaay@mkaay.de") + def __init__(self, core): Hook.__init__(self, core) props = {} - props['name'] = "LinuxFileEvents" - props['version'] = "0.1" - props['description'] = """monitors files and directories for changes""" - props['author_name'] = ("mkaay") - props['author_mail'] = ("mkaay@mkaay.de") self.props = props return #@TODO remove when working correctly -- cgit v1.2.3