Fix Python 3.9 compatibility
Replaced threading.Thread.isAlive() with threading.Thread.is_alive()
This commit is contained in:
parent
905f71fa52
commit
1a7ae9ecc6
3 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ class Module(core.module.Module):
|
|||
)
|
||||
|
||||
def update(self):
|
||||
if self.__thread and self.__thread.isAlive():
|
||||
if self.__thread and self.__thread.is_alive():
|
||||
return
|
||||
|
||||
self.__thread = threading.Thread(target=get_apt_check_info, args=(self,))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue