mirror of https://gitlab.com/bashrc2/epicyon
Media type
parent
e3a5e074c2
commit
7ee58b89fa
|
@ -1845,7 +1845,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if extension=='jpeg':
|
if extension=='jpeg':
|
||||||
extension='jpg'
|
extension='jpg'
|
||||||
filename=filenameBase+'.'+extension
|
filename=filenameBase+'.'+extension
|
||||||
attachmentMediaType=mType
|
attachmentMediaType=searchStr.decode().split('/')[0]
|
||||||
break
|
break
|
||||||
if filename and imageLocation>-1:
|
if filename and imageLocation>-1:
|
||||||
# locate the beginning of the image, after any
|
# locate the beginning of the image, after any
|
||||||
|
|
Loading…
Reference in New Issue