diff --git a/media.py b/media.py index c78d7cee4..f79a047e6 100644 --- a/media.py +++ b/media.py @@ -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)