Skip to content

Commit

Permalink
[#445] small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pzadroga committed Oct 31, 2024
1 parent 6a0f0e3 commit e8f568b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sim/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_bind9_applications():
response = session.get(url)
data = response.json()

if data is None or data.get("items"):
if data is None or data.get("items") is None:
return {"items": [], "total": 0}
return data

Expand Down

0 comments on commit e8f568b

Please sign in to comment.