mirror of https://gitlab.com/bashrc2/epicyon
Make a copy
parent
1d642e0d40
commit
075489bea4
3
posts.py
3
posts.py
|
@ -541,7 +541,8 @@ def createPostBase(baseDir: str,nickname: str,domain: str,port: int, \
|
|||
# get list of tags
|
||||
content=replaceEmojiFromTags(content,tags,'content')
|
||||
# remove replaced emoji
|
||||
for tagName,tag in hashtagsDict.items():
|
||||
hashtagsDictCopy=hashtagsDict.copy()
|
||||
for tagName,tag in hashtagsDictCopy.items():
|
||||
if tag.get('name'):
|
||||
if tag['name'].startswith(':'):
|
||||
if tag['name'] not in content:
|
||||
|
|
Loading…
Reference in New Issue