Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def change_row(self, department_id, department):
- self.sql.execute(
- '''UPDATE departments SET
- name = ?, category = ?, organization = ?, director = ?, phone = ?, floor = ? where id = ?''',
- (department[0], department[1], department[2], department[3],
- department[4], department[5], department_id)
- )
- self.db.commit()
Add Comment
Please, Sign In to add comment