Skip to content

Commit

Permalink
Fix bug: this is not part of a sql stmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Mar 1, 2024
1 parent 3308279 commit 021cb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ def adjust_total_disk_usage(self, amount, quota_source_label):
assert amount is not None
if amount != 0:
if quota_source_label is None:
self.disk_usage = func.coalesce(self.table.c.disk_usage, 0) + amount
self.disk_usage = (self.disk_usage or 0) + amount
else:
# else would work on newer sqlite - 3.24.0
engine = object_session(self).bind
Expand Down

0 comments on commit 021cb80

Please sign in to comment.