Merge pull request #727 from w1kl4s/master

Fix Python 3.9 compatibility
This commit is contained in:
tobi-wan-kenobi 2020-10-14 18:30:56 +02:00 committed by GitHub
commit 68bd6f8ef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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,))