Commit ddacc390 authored by Romain Bignon's avatar Romain Bignon

rename command 'event' to 'events' (coherence with other commands)

parent 9cf029eb
...@@ -218,7 +218,7 @@ class Event(object): ...@@ -218,7 +218,7 @@ class Event(object):
self.users_to_notify.add(username) self.users_to_notify.add(username)
class EventCmd(Command): class EventsCmd(Command):
DESCRIPTION = 'Create or edit an event' DESCRIPTION = 'Create or edit an event'
...@@ -392,7 +392,7 @@ class EventsCleaner(ICleaner): ...@@ -392,7 +392,7 @@ class EventsCleaner(ICleaner):
class EventsPlugin(Plugin): class EventsPlugin(Plugin):
def init(self): def init(self):
self.register_cli_command('event', EventCmd) self.register_cli_command('events', EventsCmd)
self.register_web_view( self.register_web_view(
View(object_type='file', mimetype='text/event', name='event'), View(object_type='file', mimetype='text/event', name='event'),
EventAction) EventAction)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment