Skip to content

Commit

Permalink
Merge pull request #204 from fleborne/feat/push-despite-empty-state
Browse files Browse the repository at this point in the history
New feature: push despite empty state
  • Loading branch information
nicolas-rabault authored Feb 19, 2025
2 parents 65d12be + f011d65 commit 148052d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyluos/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class Device(object):
def __init__(self, host,
IO=None,
log_conf=_base_log_conf,
test_mode=False,
background_task=True,
*args, **kwargs):
if IO is not None:
Expand Down Expand Up @@ -237,7 +236,7 @@ def _poll_and_up(self):
state = self._poll_once()
if state:
self._update(state)
self._push_once()
self._push_once()
else:
time.sleep(0.1)

Expand Down

0 comments on commit 148052d

Please sign in to comment.