Beispiel #1
0
 def remove_thumbnails(self):
     try:
         thumbnail_delete(self.highlight, delete_file=False)
     except ThumbnailError:
         pass
     for page in self.documentpage_set.all():
         try:
             thumbnail_delete(page.image.path, delete_file=False)
         except ThumbnailError:
             pass
Beispiel #2
0
 def remove_thumbnails(self):
     try:
         thumbnail_delete(self.highlight, delete_file=False)
     except ThumbnailError:
         pass
     for page in self.documentpage_set.all():
         try:
             thumbnail_delete(page.image.path, delete_file=False)
         except ThumbnailError:
             pass
Beispiel #3
0
 def remove_thumbnails(self):
     try:
         thumbnail_delete(self.image.path, delete_file=False)
     except ThumbnailError:
         pass
Beispiel #4
0
 def remove_thumbnails(self):
     try:
         thumbnail_delete(self.image.path, delete_file=False)
     except ThumbnailError:
         pass