From 8a4618ffe02c29731b02c940566e711eb772a573 Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Wed, 4 Mar 2020 17:26:19 +0000 Subject: [PATCH] Fix logo upload - we need to rewind the bytestream after we read it --- app/main/validators.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/main/validators.py b/app/main/validators.py index 503c884ea..39bf2fb0b 100644 --- a/app/main/validators.py +++ b/app/main/validators.py @@ -86,7 +86,9 @@ class NoEmbeddedImagesInSVG: self.message = message def __call__(self, form, field): - if '