Skip to content
Snippets Groups Projects
Commit 71fb9853 authored by Sorrel Harriet's avatar Sorrel Harriet
Browse files

minor amend

parent 623664fb
No related merge requests found
......@@ -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()
......
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