Skip to content

Commit

Permalink
Fix len as condition
Browse files Browse the repository at this point in the history
  • Loading branch information
algorys committed Mar 5, 2018
1 parent 5967b5f commit 23d8059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alignak_app/backend/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def query_user_data(self):
)

if request:
if len(request['_items']) > 0:
if request['_items']:
user = User()

user.create(
Expand Down

0 comments on commit 23d8059

Please sign in to comment.