Skip to content
Snippets Groups Projects
Commit a71da7ba authored by Todd Dembrey's avatar Todd Dembrey Committed by Fredrik Jonsson
Browse files

fixup! Configure the storage location of the files

parent b93673df
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment