mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-05-11 14:53:08 +00:00
Use "super"
This commit is contained in:
parent
60c78e7424
commit
6816196da7
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ from django.utils.encoding import force_unicode, smart_str
|
|||
|
||||
class ImageSpecFieldFile(ImageFieldFile):
|
||||
def __init__(self, instance, field, attname):
|
||||
ImageFieldFile.__init__(self, instance, field, None)
|
||||
super(ImageSpecFieldFile, self).__init__(instance, field, None)
|
||||
self.attname = attname
|
||||
self.storage = self.field.storage or self.source_file.storage
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue