refactor(dbus): Fix typo and remove unused thread instance
Corrected a typo in the `timeout` parameter name in `method_await_reset` and removed an unused thread instance `th_sleep` from `dbus_helper.py`. These changes improve code clarity and eliminate redundant components.
This commit is contained in:
@@ -96,7 +96,6 @@ def await_signal(
|
||||
detected_signal = False
|
||||
timeout = int(timeout)
|
||||
loop = GLib.MainLoop()
|
||||
th_sleep = Thread()
|
||||
|
||||
def th_timeout():
|
||||
sleep(timeout)
|
||||
|
||||
Reference in New Issue
Block a user