[fix] add miss wordcloud filter

This commit is contained in:
SouthFox 2023-07-17 05:54:50 +08:00
parent 50be8ada85
commit 1fa5de305b

View file

@ -65,7 +65,7 @@ def analysis():
mask = np.array(Image.open("misc/mask.png"))
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 = url_pattern.sub('', toot_content)
toot_content = emoji_pattern.sub('', toot_content)