From a71da7ba4fb400958cbe7787643170dd1b15b050 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Thu, 6 Sep 2018 15:00:02 +0100 Subject: [PATCH] fixup! Configure the storage location of the files --- opentech/apply/funds/models/mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/apply/funds/models/mixins.py b/opentech/apply/funds/models/mixins.py index 4e7828d3e..849314bbb 100644 --- a/opentech/apply/funds/models/mixins.py +++ b/opentech/apply/funds/models/mixins.py @@ -38,7 +38,7 @@ class AccessFormData: @classmethod def stream_file(cls, file): - if isinstance(file, StreamFieldFile, storage=submission_storage): + if isinstance(file, StreamFieldFile): return file if isinstance(file, File): return StreamFieldFile(file.file, name=file.name, storage=submission_storage) -- GitLab