Browse Source

fix outdated information

Davide Alberani 4 years ago
parent
commit
d22ea9a0d6
2 changed files with 2 additions and 8 deletions
  1. 1 7
      data/triggers/README.txt
  2. 1 1
      tools/duplicates.py

+ 1 - 7
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

+ 1 - 1
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__':