main
Bob Mottram 2021-10-11 14:28:05 +01:00
parent 179f36b529
commit 89a7189d88
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ def attachMedia(baseDir: str, httpPrefix: str,
'url': httpPrefix + '://' + domain + '/' + mediaPath
}
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
attachImageWidth, attachImageHeight = \
getImageDimensions(imageFilename)