Don't set to_thumbnail if low_similarity

This commit is contained in:
blank X 2020-12-24 23:18:04 +07:00
parent ba62714955
commit 71fb7c1051
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ async def saucenao(client, message):
to_image = True
break
else:
if not to_thumbnail:
if not to_thumbnail and not low_similarity:
to_thumbnail = result['header'].get('thumbnail')
atext += '\n\n'
length = len((await client.parser.parse(caption + atext, 'html'))['message'])