Commit 71fb9853 authored by Sorrel Harriet's avatar Sorrel Harriet

minor amend

parent 623664fb
......@@ -47,6 +47,8 @@ if cnx:
components.record_game(cursor, sent_data)
# Make sure data is committed to the database
cnx.commit()
else:
components.home()
# close the connection to the database
cursor.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment