[fix] add miss wordcloud filter
This commit is contained in:
parent
50be8ada85
commit
1fa5de305b
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def analysis():
|
||||||
mask = np.array(Image.open("misc/mask.png"))
|
mask = np.array(Image.open("misc/mask.png"))
|
||||||
|
|
||||||
for i in year_toots:
|
for i in year_toots:
|
||||||
if i.content != None:
|
if i.content != None and i.acct == settings.account:
|
||||||
toot_content = html_pattern.sub('', i.content)
|
toot_content = html_pattern.sub('', i.content)
|
||||||
toot_content = url_pattern.sub('', toot_content)
|
toot_content = url_pattern.sub('', toot_content)
|
||||||
toot_content = emoji_pattern.sub('', toot_content)
|
toot_content = emoji_pattern.sub('', toot_content)
|
||||||
|
|
Loading…
Reference in a new issue