fix/fix duplicates_counter
This commit is contained in:
parent
f164ddaa22
commit
51dcceed35
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ def toot_process(statuses, my_acct, duplicates_counter=0):
|
|||
table.favourites_count=favourites_count
|
||||
table.language=language
|
||||
|
||||
if Toot.query.get(id) == None or Other.query.get(id) == None:
|
||||
if Toot.query.get(id) != None or Other.query.get(id) != None:
|
||||
duplicates_counter += 1
|
||||
|
||||
db.session.merge(table)
|
||||
|
|
Loading…
Reference in a new issue