Skip to content

Commit

Permalink
#18: Correct entity handling on update
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Aug 14, 2019
1 parent 171ad98 commit 086478c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/database_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def __init__(self, table, row, new_values):
def execute_query(self):
log.info(f" Updating row in {self.table}")
self.row.update_from_dict(self.new_values)
self.session.add(self.row)
self.commit_changes()


Expand Down

0 comments on commit 086478c

Please sign in to comment.