mirror of https://gitlab.com/bashrc2/epicyon
Avoid multiple stores
parent
44d48edbc0
commit
cc5884a274
|
@ -638,9 +638,12 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
|
||||||
else:
|
else:
|
||||||
content += hashtagHtml
|
content += hashtagHtml
|
||||||
blog['object']['content'] = content
|
blog['object']['content'] = content
|
||||||
storeHashTags(baseDir, 'news', blog)
|
|
||||||
|
|
||||||
newswire[originalDateStr][6] = hashtags
|
# update the newswire tags if new ones have been found by
|
||||||
|
# newswireHashtagProcessing
|
||||||
|
for tag in hashtags:
|
||||||
|
if tag not in newswire[originalDateStr][6]:
|
||||||
|
newswire[originalDateStr][6].append(tag)
|
||||||
|
|
||||||
storeHashTags(baseDir, 'news', blog)
|
storeHashTags(baseDir, 'news', blog)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue