Skip to content

Commit

Permalink
Fix search
Browse files Browse the repository at this point in the history
  • Loading branch information
lev145-live committed Jan 5, 2022
1 parent a3d85b2 commit a657eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiontai/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ async def search(
json: Dict[str, Any] = await responce.json()

result = json["result"]
if not result:
if result:
return json
else:
raise EmptyAPIResultError()
Expand Down

0 comments on commit a657eec

Please sign in to comment.