Commits

George Notaras committed b1c7332

Make all ``generate_image_name()`` calls comply with the rule that a name must be provided.

  • Participants
  • Parent commits bb46925

Comments (0)

Files changed (1)

File src/thumbnail_works/fields.py

             content = self.process_image(content)
             # The following sets the correct filename extension according
             # to the image format. 
-            name = self.generate_image_name()
+            name = self.generate_image_name(name=name)
         
         # Save the source image on the storage. Also re-sets ``self.name``
         super(BaseEnhancedImageFieldFile, self).save(name, content, save)