Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1814 | checksum save should not trigger ind…
Browse files Browse the repository at this point in the history
…exing
  • Loading branch information
snyaggarwal committed May 2, 2024
1 parent 80be5d1 commit 2b4a666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/common/checksums.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def has_smart_checksum(self):
def set_checksums(self):
if Toggle.get('CHECKSUMS_TOGGLE'):
self.checksums = self._calculate_checksums()
self.save(update_fields=['checksums'])
self.__class__.objects.filter(id=self.id).update(checksums=self.checksums)

@property
def checksum(self):
Expand Down

0 comments on commit 2b4a666

Please sign in to comment.