Return None if no results found in first mode

This commit is contained in:
Mouse Reeve 2020-05-03 13:41:36 -07:00
parent aeea1c3fee
commit 6e22035c27

View file

@ -46,6 +46,8 @@ def search(query, first=False):
'results': result,
})
if first:
return None
return results