This commit is contained in:
Ross
2021-11-21 10:22:37 +00:00
parent e367184cf6
commit 9b1986773b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -453,6 +453,7 @@ class RapidImage(models.Model):
def save(self, *args, **kwargs):
"""Override save method to add image hash"""
# TODO: consider moving to signal to reuse across apps
if self.image:
# Try and read the file as a dicom
try: