Fixed a bug: Found item repeated in competitors if Free Software.
This commit is contained in:
parent
1a464b493d
commit
991a046601
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ def suggestions(page, json):
|
|||
for i in found:
|
||||
free = search.is_free(i[-1])
|
||||
|
||||
if not i[0] or i[-1] == json or not free:
|
||||
if not i[0] or i[-1]["names"] == json["names"] or not free:
|
||||
continue
|
||||
try:
|
||||
frac = int(i[0]/biggest*100)
|
||||
|
|
Loading…
Reference in a new issue