Bugfix: Added commit() to actually execute queries in pymysql