diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 425ee2a8d..5db454b14 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -4127,9 +4127,10 @@ class Document(BaseHistorizedItem, OwnPerms, ImageModel):                                    self._get_thumb_name(reference_path))                          self.image.name = reference_path[                                            len(settings.MEDIA_ROOT):] +                        self._no_move = True                          self.save(no_path_change=True)                      except OSError: -                        # file probably not on harddrive - will be cleaned +                        # file probably not on HDD - will be cleaned                          pass                      continue                  # create a link | 
