Fix kids -> children
This commit is contained in:
parent
f31b271e31
commit
9f66c76a9e
|
@ -51,15 +51,15 @@ def rsvp(code):
|
|||
|
||||
# Lookup guests from code
|
||||
adults = None
|
||||
kids = None
|
||||
children = None
|
||||
try:
|
||||
name, adults, kids = get_name_and_replies(code)
|
||||
name, adults, children = get_name_and_replies(code)
|
||||
except ValueError:
|
||||
error = "Code invalide"
|
||||
|
||||
return render_template(
|
||||
'rsvp.html',
|
||||
adults=adults,
|
||||
kids=kids,
|
||||
children=children,
|
||||
error=error,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue