From a2e083c7a1601c1ca7ef6e582fd597bf165227bd Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 12 Jan 2020 13:16:02 +0000 Subject: [PATCH] Can specify location without time --- posts.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/posts.py b/posts.py index b9df3ffb..609e2676 100644 --- a/posts.py +++ b/posts.py @@ -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',