mirror of https://gitlab.com/bashrc2/epicyon
Typo
parent
179f36b529
commit
89a7189d88
2
media.py
2
media.py
|
@ -308,7 +308,7 @@ def attachMedia(baseDir: str, httpPrefix: str,
|
||||||
'url': httpPrefix + '://' + domain + '/' + mediaPath
|
'url': httpPrefix + '://' + domain + '/' + mediaPath
|
||||||
}
|
}
|
||||||
if mediaType.startswith('image/'):
|
if mediaType.startswith('image/'):
|
||||||
attachmentJson['focialPoint'] = [0.0, 0.0]
|
attachmentJson['focalPoint'] = [0.0, 0.0]
|
||||||
# find the dimensions of the image and add them as metadata
|
# find the dimensions of the image and add them as metadata
|
||||||
attachImageWidth, attachImageHeight = \
|
attachImageWidth, attachImageHeight = \
|
||||||
getImageDimensions(imageFilename)
|
getImageDimensions(imageFilename)
|
||||||
|
|
Loading…
Reference in New Issue