Media type

master
Bob Mottram 2019-08-30 18:37:46 +01:00
parent e3a5e074c2
commit 7ee58b89fa
1 changed files with 1 additions and 1 deletions

View File

@ -1845,7 +1845,7 @@ class PubServer(BaseHTTPRequestHandler):
if extension=='jpeg':
extension='jpg'
filename=filenameBase+'.'+extension
attachmentMediaType=mType
attachmentMediaType=searchStr.decode().split('/')[0]
break
if filename and imageLocation>-1:
# locate the beginning of the image, after any