diff --git a/data/triggers/README.txt b/data/triggers/README.txt index 8f7dabc..41ee1f6 100644 --- a/data/triggers/README.txt +++ b/data/triggers/README.txt @@ -2,10 +2,4 @@ Directory for scripts that will be executed when a given action is encoutered. You have to put your scripts into {action}.d subdirectories; the scripts must be executable. -Valid actions: - -- PUT /events/:event_id/persons/:person_id - - update_person_in_event (update_person_in_event.d): called for each update - - attends (attends.d): only called when a person is attending at an event - - +See the "Triggers" section of docs/DEVELOPMENT.md diff --git a/tools/duplicates.py b/tools/duplicates.py index 5258949..6d424de 100755 --- a/tools/duplicates.py +++ b/tools/duplicates.py @@ -29,7 +29,7 @@ def run(): events = db.query('events', {'title': sys.argv[1]}) info(events[0], sys.argv[2]) except: - print('count.py "title of event" key') + print('duplicates.py "title of event" key') sys.exit(1) if __name__ == '__main__':