main
Bob Mottram 2020-03-09 17:51:01 +00:00
parent 997aa948d8
commit a9813f56c6
1 changed files with 1 additions and 1 deletions

View File

@ -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]