forked from indymedia/epicyon
Update rss description after editing news post
parent
46b3729506
commit
818b7237c7
|
@ -166,6 +166,7 @@ from shares import getSharesFeedForPerson
|
||||||
from shares import addShare
|
from shares import addShare
|
||||||
from shares import removeShare
|
from shares import removeShare
|
||||||
from shares import expireShares
|
from shares import expireShares
|
||||||
|
from utils import firstParagraphFromString
|
||||||
from utils import clearFromPostCaches
|
from utils import clearFromPostCaches
|
||||||
from utils import containsInvalidChars
|
from utils import containsInvalidChars
|
||||||
from utils import isSystemAccount
|
from utils import isSystemAccount
|
||||||
|
@ -3272,7 +3273,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.newswire[publishedDate][0] = \
|
self.server.newswire[publishedDate][0] = \
|
||||||
newsPostTitle
|
newsPostTitle
|
||||||
self.server.newswire[publishedDate][4] = \
|
self.server.newswire[publishedDate][4] = \
|
||||||
newsPostContent
|
firstParagraphFromString(newsPostContent)
|
||||||
# save newswire
|
# save newswire
|
||||||
newswireStateFilename = \
|
newswireStateFilename = \
|
||||||
baseDir + '/accounts/.newswirestate.json'
|
baseDir + '/accounts/.newswirestate.json'
|
||||||
|
|
Loading…
Reference in New Issue