We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 944ed3f commit 5687bbbCopy full SHA for 5687bbb
machine_controller/vend.py
@@ -70,7 +70,7 @@ def release(self):
70
71
def inUse(self):
72
# Trylock
73
- return not self.lock.acquire(False)
+ return self.lock.locked()
74
75
76
def __cleanup(self):
0 commit comments