Added "original_format" into initial environment

pull/3053/head
Karl Hobley 2016-04-13 00:04:51 +01:00 zatwierdzone przez Matt Westcott
rodzic f58eb6ef28
commit 43e0b9d237
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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)