Skip to content

Commit

Permalink
[Scripts] Accept variants of "with a kiss" trivia answer
Browse files Browse the repository at this point in the history
Accept "by kiss", "by kissing him", and "kiss"
  • Loading branch information
Harmon758 committed Jul 19, 2023
1 parent d662e6c commit 9a6010e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/update_trivia.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,17 @@
)
connection.commit()

connection.execute(
"""
UPDATE trivia.clues
SET acceptable_answers = ARRAY[
'by kiss','by kissing him','kiss','with a kiss'
]
WHERE answer = 'with a kiss'
"""
)
connection.commit()

connection.execute(
"""
UPDATE trivia.clues
Expand Down

0 comments on commit 9a6010e

Please sign in to comment.