diff --git a/opentech/apply/funds/models/mixins.py b/opentech/apply/funds/models/mixins.py index b686253f6ce9c08cf7ed735cbdbf341e0934a3af..91779f3d16c7819d2ee32f359890f003085bac55 100644 --- a/opentech/apply/funds/models/mixins.py +++ b/opentech/apply/funds/models/mixins.py @@ -38,6 +38,9 @@ class AccessFormData: @classmethod def stream_file(cls, file): + if 'path' in file: + file['filename'] = file['name'] + file['name'] = file['path'] if isinstance(file, StreamFieldFile): return file if isinstance(file, File):