From c409546f39b61b722d37d2f61ac2c02b561e0f9a Mon Sep 17 00:00:00 2001 From: Semjon Kerner Date: Mon, 15 Feb 2021 15:49:10 +0100 Subject: [PATCH] let python find new fishy version --- fishy/helper/auto_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fishy/helper/auto_update.py b/fishy/helper/auto_update.py index 722bda5..16701d6 100644 --- a/fishy/helper/auto_update.py +++ b/fishy/helper/auto_update.py @@ -96,4 +96,4 @@ def auto_upgrade(): version = _hr_version(_get_highest_version(index, pkg)) logging.info(f"Updating to v{version}, Please Wait...") subprocess.call(["python", '-m', 'pip', 'install', '--upgrade', 'fishy', '--user']) - execl(sys.executable, *([sys.executable] + sys.argv)) + execl(sys.executable, *([sys.executable, '-m', 'fishy'] + sys.argv[1:]))