Can specify location without time

main
Bob Mottram 2020-01-12 13:16:02 +00:00
parent 84d7145922
commit a2e083c7a1
1 changed files with 6 additions and 6 deletions

View File

@ -584,12 +584,12 @@ def createPostBase(baseDir: str,nickname: str,domain: str,port: int, \
"startTime": eventDateStr,
"endTime": eventDateStr
})
if location:
tags.append({
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Place",
"name": location
})
if location:
tags.append({
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Place",
"name": location
})
postContext=[
'https://www.w3.org/ns/activitystreams',