forked from platypush/platypush
Logic typo
This commit is contained in:
parent
d767cafafe
commit
85d975edc6
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class JoystickJstestBackend(Backend):
|
|||
def _wait_ready(self):
|
||||
self.logger.info(f'Waiting for joystick device on {self.device}')
|
||||
|
||||
while not self.should_stop() or not os.path.exists(self.device):
|
||||
while not self.should_stop() and not os.path.exists(self.device):
|
||||
time.sleep(1)
|
||||
|
||||
if self.should_stop():
|
||||
|
|
Loading…
Reference in a new issue