Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit 1f8efbd0c7e6338764cc78c2254f8b71d7967dc7

Add commit on update school

After an UPDATE statement a commit is needed.
  
415415 cursor.execute ("UPDATE Users SET school = %s WHERE machine_sn = %s", (school, machine_sn))
416416 except mysql.connector.Error as err:
417417 log.error("MySQL on %s: %s", cursor.statement, err)
418 else:
419 self.cnx.commit()
418420
419421 cursor.close()
420422