Skip to content
Snippets Groups Projects
Commit 49ec7aa9 authored by shinedday's avatar shinedday
Browse files

Fix bug : some semaphore released instead of acquire

parent 2befe983
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -39,7 +39,7 @@ class Schedulable(MqttClient):
Basic wait method
"""
# print("Waiting")
self.semaphore.release()
self.semaphore.acquire()
# print("End wait")
def exit_procedure(self, client, userdata, message) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment