mirror of https://gitlab.com/bashrc2/epicyon
paragraph
parent
64eb4212b7
commit
7a1a870e9e
|
@ -23,7 +23,9 @@ def addMentions(baseDir: str,httpPrefix: str, \
|
|||
domain=domain.split(':')[0]
|
||||
followingFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/following.txt'
|
||||
if not os.path.isfile(followingFilename):
|
||||
return content
|
||||
content=content.replace('\n','</p><p>')
|
||||
content='<p>'+content+'</p>'
|
||||
return content.replace('<p></p>','')
|
||||
with open(followingFilename, "r") as f:
|
||||
following = f.readlines()
|
||||
for wordStr in words:
|
||||
|
|
Loading…
Reference in New Issue