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