Problem with inserting into MySQL database from Python,conn.commit()