fix/fix emoji count typeerror
This commit is contained in:
parent
0f7568b4ab
commit
ca558d57e9
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ def archive_toot(url):
|
||||||
count = content.count(counter)
|
count = content.count(counter)
|
||||||
|
|
||||||
if not is_reblog:
|
if not is_reblog:
|
||||||
data=Emoji.query.filter_by(shortcode=shortcode).first()
|
data=Emoji.query.filter_by(shortcode=shortcode, acct=acct).first()
|
||||||
if data is None:
|
if data is None:
|
||||||
emoji_data = Emoji(shortcode=shortcode,
|
emoji_data = Emoji(shortcode=shortcode,
|
||||||
acct=acct,
|
acct=acct,
|
||||||
|
|
Loading…
Reference in a new issue