fix outdated information
This commit is contained in:
parent
305fea8a41
commit
d22ea9a0d6
2 changed files with 2 additions and 8 deletions
|
@ -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.
|
You have to put your scripts into {action}.d subdirectories; the scripts must be executable.
|
||||||
|
|
||||||
Valid actions:
|
See the "Triggers" section of docs/DEVELOPMENT.md
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ def run():
|
||||||
events = db.query('events', {'title': sys.argv[1]})
|
events = db.query('events', {'title': sys.argv[1]})
|
||||||
info(events[0], sys.argv[2])
|
info(events[0], sys.argv[2])
|
||||||
except:
|
except:
|
||||||
print('count.py "title of event" key')
|
print('duplicates.py "title of event" key')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue