Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 3
0
 def remove_thumbnails(self):
     try:
         thumbnail_delete(self.image.path, delete_file=False)
     except ThumbnailError:
         pass
Ejemplo n.º 4
0
 def remove_thumbnails(self):
     try:
         thumbnail_delete(self.image.path, delete_file=False)
     except ThumbnailError:
         pass