mirror of https://gitlab.com/bashrc2/epicyon
Replace quotes
parent
47be751f47
commit
8f8c70ed6a
3
inbox.py
3
inbox.py
|
@ -80,6 +80,7 @@ from happening import saveEventPost
|
||||||
from delete import removeOldHashtags
|
from delete import removeOldHashtags
|
||||||
from categories import guessHashtagCategory
|
from categories import guessHashtagCategory
|
||||||
from context import hasValidContext
|
from context import hasValidContext
|
||||||
|
from content import htmlReplaceQuoteMarks
|
||||||
|
|
||||||
|
|
||||||
def storeHashTags(baseDir: str, nickname: str, postJsonObject: {}) -> None:
|
def storeHashTags(baseDir: str, nickname: str, postJsonObject: {}) -> None:
|
||||||
|
@ -2153,7 +2154,7 @@ def _updateSpeaker(baseDir: str, nickname: str, domain: str,
|
||||||
speakerFilename = \
|
speakerFilename = \
|
||||||
baseDir + '/accounts/' + nickname + '@' + domain + '/speaker.json'
|
baseDir + '/accounts/' + nickname + '@' + domain + '/speaker.json'
|
||||||
content = urllib.parse.unquote_plus(postJsonObject['object']['content'])
|
content = urllib.parse.unquote_plus(postJsonObject['object']['content'])
|
||||||
content = removeHtml(content)
|
content = removeHtml(htmlReplaceQuoteMarks(content))
|
||||||
summary = ''
|
summary = ''
|
||||||
if postJsonObject['object'].get('summary'):
|
if postJsonObject['object'].get('summary'):
|
||||||
if isinstance(postJsonObject['object']['summary'], str):
|
if isinstance(postJsonObject['object']['summary'], str):
|
||||||
|
|
Loading…
Reference in New Issue