problem with inserting into mysql database from python,conn.commit()