Skip to content

Commit

Permalink
Merge pull request #25 from LEv145:dev
Browse files Browse the repository at this point in the history
Fix `search`
  • Loading branch information
LEv145 authored Jan 5, 2022
2 parents 252cea5 + a657eec commit db506fe
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 db506fe

Please sign in to comment.