mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 05:40:25 +00:00
Fix filename formatting.
This commit is contained in:
parent
6ae4f56ed7
commit
c694ba644f
1 changed files with 1 additions and 1 deletions
|
|
@ -358,4 +358,4 @@ class ProcessedImageField(models.ImageField, _ImageSpecMixin):
|
|||
filename = os.path.normpath(self.storage.get_valid_name(os.path.basename(filename)))
|
||||
name, ext = os.path.splitext(filename)
|
||||
ext = _get_suggested_extension(filename, self.format)
|
||||
return '{0}.{1}'.format(name, ext)
|
||||
return '{0}{1}'.format(name, ext)
|
||||
|
|
|
|||
Loading…
Reference in a new issue