mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 18:29:54 +00:00
Make a copy
This commit is contained in:
1 parent
1d642e0d40
commit
075489bea4
1 file changed
+2
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user