fix
This commit is contained in:
parent
f767e4b076
commit
9977182047
|
@ -22,7 +22,7 @@ class SemaphoreCheckerThread(Thread):
|
||||||
def run(self):
|
def run(self):
|
||||||
global proompters_1_min
|
global proompters_1_min
|
||||||
while True:
|
while True:
|
||||||
self.values.append(self.semaphore)
|
self.values.append(self.semaphore._value)
|
||||||
proompters_1_min = sum(self.values) / len(self.values)
|
proompters_1_min = sum(self.values) / len(self.values)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
|
|
Reference in New Issue