Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arraylabs authored Oct 11, 2018
1 parent 9f5c756 commit 3a9f4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymyq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def get_status(self, device_id):
garage_state = False

get_status_attempt = 0
for get_status_attempt < 3:
while get_status_attempt < 3:
try:
doorstate = requests.get(
'https://{host_uri}/{device_attribute_get_endpoint}'.format(
Expand Down

0 comments on commit 3a9f4f6

Please sign in to comment.