forked from indymedia/epicyon
Save only if newswire exists
parent
2529bce3af
commit
6631c04551
|
@ -725,8 +725,9 @@ def runNewswireDaemon(baseDir: str, httpd,
|
||||||
mergeWithPreviousNewswire(httpd.newswire, newNewswire)
|
mergeWithPreviousNewswire(httpd.newswire, newNewswire)
|
||||||
|
|
||||||
httpd.newswire = newNewswire
|
httpd.newswire = newNewswire
|
||||||
saveJson(httpd.newswire, newswireStateFilename)
|
if newNewswire:
|
||||||
print('Newswire updated')
|
saveJson(httpd.newswire, newswireStateFilename)
|
||||||
|
print('Newswire updated')
|
||||||
|
|
||||||
convertRSStoActivityPub(baseDir,
|
convertRSStoActivityPub(baseDir,
|
||||||
httpPrefix, domain, port,
|
httpPrefix, domain, port,
|
||||||
|
|
Loading…
Reference in New Issue