From 5662c1ab13594c1e69f2d675ad9eae9c70915559 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Tue, 31 Dec 2024 13:33:43 +0530 Subject: [PATCH] fix(easy-install): exec command --- easy-install.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/easy-install.py b/easy-install.py index 120055038..00a5b1b5c 100755 --- a/easy-install.py +++ b/easy-install.py @@ -771,7 +771,11 @@ def get_args_parser(): args = parser.parse_args() - if args.force_pull and os.path.exists(get_frappe_docker_path()): + if ( + args.subcommand != "exec" + and args.force_pull + and os.path.exists(get_frappe_docker_path()) + ): cprint("\nForce pull frappe_docker again\n", level=2) shutil.rmtree(get_frappe_docker_path(), ignore_errors=True)