Missing parameter

main
Bob Mottram 2020-10-07 23:25:30 +01:00
parent 7469c39017
commit 0e370f2229
2 changed files with 10 additions and 10 deletions

View File

@ -95,7 +95,7 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
followersOnly = False
useBlurhash = False
blog = createNewsPost(baseDir,
'news', domain, port, httpPrefix,
domain, port, httpPrefix,
rssDescription, followersOnly, False,
None, None, None, useBlurhash,
rssTitle)

View File

@ -1197,7 +1197,7 @@ def createBlogPost(baseDir: str,
def createNewsPost(baseDir: str,
nickname: str, domain: str, port: int, httpPrefix: str,
domain: str, port: int, httpPrefix: str,
content: str, followersOnly: bool, saveToFile: bool,
attachImageFilename: str, mediaType: str,
imageDescription: str, useBlurhash: bool,
@ -1211,14 +1211,14 @@ def createNewsPost(baseDir: str,
location = None
blog = \
createPublicPost(baseDir,
nickname, domain, port, httpPrefix,
content, followersOnly, saveToFile,
clientToServer,
attachImageFilename, mediaType,
imageDescription, useBlurhash,
inReplyTo, inReplyToAtomUri, subject,
schedulePost,
eventDate, eventTime, location)
'news', domain, port, httpPrefix,
content, followersOnly, saveToFile,
clientToServer, False,
attachImageFilename, mediaType,
imageDescription, useBlurhash,
inReplyTo, inReplyToAtomUri, subject,
schedulePost,
eventDate, eventTime, location)
blog['object']['type'] = 'Article'
return blog