Skip to content

Commit deccca5

Browse files
committed
Fix isSet() deprecation warning
1 parent 1cf45d6 commit deccca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

j1939/electronic_control_unit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def _async_job_thread(self):
269269
wakeup the timeout handler to recalculate the new sleep-time
270270
to awake at the new events.
271271
"""
272-
while not self._job_thread_end.isSet():
272+
while not self._job_thread_end.is_set():
273273

274274
now = time.time()
275275

0 commit comments

Comments
 (0)