Commits

George Notaras committed e48ca41

Minor enhancements.

  • Participants
  • Parent commits f056e99

Comments (0)

Files changed (1)

File src/thumbnail_works/fields.py

             image processing options for this thumbnail as set in the
             ``thumbnails`` dictionary.
         
-        The ``name`` attribute cannot be empty. By default, ``name`` contains is
+        The ``name`` attribute cannot be empty. By default, ``name`` contains
         a path relative to MEDIA_ROOT, eg: ``myimages/image1.png`` and is
         mandatory in order to have thumbnail management.
         
         # Set the image processing options for this image (source image)
         self.setup_image_processing_options(field.process_source)
         
-        super(BaseEnhancedImageFieldFile, self).__init__(instance, field, name)
+        super(BaseEnhancedImageFieldFile, self).__init__(instance, field, name) # Sets ``self.name`` among others
         
         # Set thumbnail objects as attributes only if thumbnail
         # definitions exist and the source image has been saved.