media file: fix exception on empty files.

This may happen if a user uploads from a source that returns an error
HTTP response with no data.
This commit is contained in:
evazion
2020-06-22 18:49:36 -05:00
parent 8c6759bbd7
commit a6994cd4d7
4 changed files with 6 additions and 2 deletions
View File