From a9813f56c6e9b38cf1074d433b4d0515b19ad2c9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 9 Mar 2020 17:51:01 +0000 Subject: [PATCH] List --- media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media.py b/media.py index 0f991c948..82a21590a 100644 --- a/media.py +++ b/media.py @@ -163,7 +163,7 @@ def attachMedia(baseDir: str,httpPrefix: str,domain: str,port: int, \ 'url': httpPrefix+'://'+domain+'/'+mediaPath } if mediaType.startswith('image/'): - attachmentJson['focialPoint']={0.0, 0.0} + attachmentJson['focialPoint']=[0.0, 0.0] if useBlurhash: attachmentJson['blurhash']=getImageHash(imageFilename) postJson['attachment']=[attachmentJson]