Remove content type

master
Bob Mottram 2019-08-30 19:17:43 +01:00
parent 67ca4450a6
commit e41dec3db6
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=searchStr.decode().split('/')[0]
attachmentMediaType=searchStr.decode().split('/')[0].replace('Content-Type: ','')
break
if filename and imageLocation>-1:
# locate the beginning of the image, after any