forked from indymedia/epicyon
Blog edits are saved to the news actor
parent
020c7a1314
commit
7f8e050399
|
@ -11129,6 +11129,13 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
replaceYouTube(postJsonObject,
|
replaceYouTube(postJsonObject,
|
||||||
self.server.YTReplacementDomain)
|
self.server.YTReplacementDomain)
|
||||||
saveJson(postJsonObject, postFilename)
|
saveJson(postJsonObject, postFilename)
|
||||||
|
# also save to the news actor
|
||||||
|
if nickname != 'news':
|
||||||
|
postFilename = \
|
||||||
|
postFilename.replace('#users#' +
|
||||||
|
nickname + '#',
|
||||||
|
'#users#news#')
|
||||||
|
saveJson(postJsonObject, postFilename)
|
||||||
print('Edited blog post, resaved ' + postFilename)
|
print('Edited blog post, resaved ' + postFilename)
|
||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue