From f5ba35abf37a5d140f2e8491cb0dcab13c25869f Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Tue, 26 Apr 2022 11:14:52 +0200 Subject: [PATCH] feat(helper): add version check for client and server --- client/clip_client/helper.py | 4 +--- server/clip_server/helper.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/client/clip_client/helper.py b/client/clip_client/helper.py index 85bdde60b..13d2ed662 100644 --- a/client/clip_client/helper.py +++ b/client/clip_client/helper.py @@ -51,6 +51,4 @@ def is_latest_version(package: str = None, github_repo: str = None) -> None: :param github_repo: repo name that contains CHANGELOG if none then the same as package name """ - threading.Thread( - target=_version_check, daemon=True, args=(package, github_repo) - ).start() + threading.Thread(target=_version_check, args=(package, github_repo)).start() diff --git a/server/clip_server/helper.py b/server/clip_server/helper.py index 3d1d385ab..46316a275 100644 --- a/server/clip_server/helper.py +++ b/server/clip_server/helper.py @@ -61,6 +61,4 @@ def is_latest_version(package: str = None, github_repo: str = None) -> None: :param github_repo: repo name that contains CHANGELOG if none then the same as package name """ - threading.Thread( - target=_version_check, daemon=True, args=(package, github_repo) - ).start() + threading.Thread(target=_version_check, args=(package, github_repo)).start()