mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
6b2f22d562
commit
3e7e64f5d0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue