mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-20 21:11:55 +00:00
Added "original_format" into initial environment
This commit is contained in:
parent
f58eb6ef28
commit
43e0b9d237
1 changed files with 3 additions and 1 deletions
|
|
@ -413,7 +413,9 @@ class Filter(models.Model):
|
|||
# Fix orientation of image
|
||||
willow = willow.auto_orient()
|
||||
|
||||
env = {}
|
||||
env = {
|
||||
'original-format': original_format,
|
||||
}
|
||||
for operation in self.operations:
|
||||
# Check that the operation can take the new "env" argument
|
||||
# (added in Wagtail 1.5)
|
||||
|
|
|
|||
Loading…
Reference in a new issue