Skip to content

Commit

Permalink
Made answers case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Augustinetharakan12 committed Oct 13, 2019
1 parent 728dba6 commit 0022dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion excelplay_kryptos/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def answer(request):
answer=answer
)

if answer == level.answer:
if answer.lower() == level.answer:

score = kuser.level + 1
rdb.add ('kryptos', user, score)
Expand Down

0 comments on commit 0022dcd

Please sign in to comment.