Newswire links directly to sources

main
Bob Mottram 2020-11-08 18:29:01 +00:00
parent d6b22535f7
commit 5c42d47f55
1 changed files with 2 additions and 2 deletions

View File

@ -504,8 +504,8 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
if os.path.isfile(filename): if os.path.isfile(filename):
# don't create the post if it already exists # don't create the post if it already exists
# set the url # set the url
newswire[originalDateStr][1] = \ # newswire[originalDateStr][1] = \
'/users/news/statuses/' + statusNumber # '/users/news/statuses/' + statusNumber
# set the filename # set the filename
newswire[originalDateStr][3] = filename newswire[originalDateStr][3] = filename
continue continue