diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2017-02-11 14:19:55 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2017-02-11 14:19:55 +0100 |
commit | af750a6598d53b8a5cb58092dd5b523ea7e967ca (patch) | |
tree | 3db935d25763c8bcca87fecf59ed94a43990ba98 /fbin/file_storage | |
parent | 57fa40103fb866200a254efb9754b4d5d54cd7f9 (diff) |
Fixed uploading small files.
For small files the file attribute is a StringIO object instead of a
NamedTemporaryFile. For cStringIO we're not allowed to set the delete
attribute, so check wether the object already has a delete attribute
before attempting to set it.
Diffstat (limited to 'fbin/file_storage')
0 files changed, 0 insertions, 0 deletions