Skip to content

Commit 31a47cd

Browse files
committed
fix: Python 3.9 removed Thread.isAlive() use is_alive()
1 parent 1213c73 commit 31a47cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glv/ui/history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def apply_search(self,
248248
search_state: SearchState,
249249
include_current_position=True,
250250
count=1):
251-
if self._search_thread is not None and self._search_thread.isAlive():
251+
if self._search_thread is not None and self._search_thread.is_alive():
252252
try:
253253
self._search_thread._stop() # pylint: disable=protected-access
254254
except Exception: # pylint: disable=broad-except

0 commit comments

Comments
 (0)