merge-requests/21/head
Bob Mottram 2021-03-06 23:19:03 +00:00
parent 6b2f22d562
commit 3e7e64f5d0
1 changed files with 1 additions and 0 deletions

View File

@ -981,6 +981,7 @@ def saveMediaInFormPOST(mediaBytes, debug: bool,
if not os.path.isfile(filename):
print('WARN: Media file could not be written to file: ' + filename)
return None, None
print('Uploaded media file written: ' + filename)
return filename, attachmentMediaType