missed a running=True

This commit is contained in:
2022-06-16 13:27:25 +02:00
parent 3ef340b942
commit a1bb0d4196
+1
View File
@@ -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