From 127d7dcfca7a88c11185959c3e3da4f40beb4bab Mon Sep 17 00:00:00 2001 From: Vinh-Thuyen <34017414+ntvthuyen@users.noreply.github.com> Date: Mon, 14 Oct 2024 16:11:30 +0800 Subject: [PATCH] Update gfmhelper.py to correct file existence validation --- gfmhelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfmhelper.py b/gfmhelper.py index 4b0c576..13181d4 100644 --- a/gfmhelper.py +++ b/gfmhelper.py @@ -657,7 +657,7 @@ def validateArgs(args): if(Path(args.image_magick_path).is_file()): arguments["image_magick_path"] = Path(args.image_magick_path) else: - errors.append("{} file does not exists.".format(Path(args.fusion_sphere_params))) + errors.append("{} file does not exists.".format(Path(args.image_magick_path))) status = False else: arguments["image_magick_path"] = 'magick'