Skip to content

Commit

Permalink
success value is always False
Browse files Browse the repository at this point in the history
  • Loading branch information
wichd authored and mpolednik committed Nov 10, 2018
1 parent bb41f1f commit 89fe9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def user_exists(bridge_ip, bridge_user, notify=True):
bridge_ip, bridge_user))
res = req.json()

success = False
success = True
try:
success = bridge_user in res['whitelist']
except KeyError:
Expand Down

0 comments on commit 89fe9ec

Please sign in to comment.