missed a running=True
This commit is contained in:
@@ -33,6 +33,7 @@ class Condition(BaseCondition):
|
||||
|
||||
def sleep(self):
|
||||
time_start = time()
|
||||
self.running = True
|
||||
while time() - time_start < self.wait_time:
|
||||
if not self.running:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user