diff options
| -rw-r--r-- | changelog/en/changelog_2022-06-15.md | 6 | ||||
| -rw-r--r-- | changelog/fr/changelog_2023-01-25.md | 7 | ||||
| -rw-r--r-- | ishtar_common/models.py | 3 | 
3 files changed, 15 insertions, 1 deletions
| diff --git a/changelog/en/changelog_2022-06-15.md b/changelog/en/changelog_2022-06-15.md index 31e04701f..d4a6e28af 100644 --- a/changelog/en/changelog_2022-06-15.md +++ b/changelog/en/changelog_2022-06-15.md @@ -1,3 +1,9 @@ +v4.0.60 - 2023-10-10 +-------------------- + +### Bug fixes ### +- manage photos with altered bits (#5626) +  v4.0.59 - 2023-09-29  -------------------- diff --git a/changelog/fr/changelog_2023-01-25.md b/changelog/fr/changelog_2023-01-25.md index 245548f9a..34d6b01bf 100644 --- a/changelog/fr/changelog_2023-01-25.md +++ b/changelog/fr/changelog_2023-01-25.md @@ -1,3 +1,10 @@ +v4.0.60 - 2023-10-10 +-------------------- + +### Corrections de dysfonctionnements ### +- gestion de photos avec quelques "bits" défectueux (#5626) + +  v4.0.59 - 2023-09-29  -------------------- diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 870dd41db..75e07d7cb 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -538,9 +538,10 @@ class ImageModel(models.Model, ImageContainerModel):              self.thumbnail = None              self.image = None          finally: +            returned = super().save(*args, **kwargs)              if image:                  image.close() -        return super(ImageModel, self).save(*args, **kwargs) +            return returned      def _get_thumb_name(self, filename):          splited = filename.split(".") | 
