From d4f791758780adf45363c8c8953ebb3bcd39dc04 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 2 Apr 2024 22:36:56 +1100 Subject: [PATCH] Extensions: tweak wording when a file is missing --- bl_pkg/cli/blender_ext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl_pkg/cli/blender_ext.py b/bl_pkg/cli/blender_ext.py index 2f2e911..4283143 100755 --- a/bl_pkg/cli/blender_ext.py +++ b/bl_pkg/cli/blender_ext.py @@ -1972,7 +1972,7 @@ class subcmd_author: ok = True for filepath in expected_files: if not os.path.exists(os.path.join(pkg_source_dir, filepath)) is None: - message_status(msg_fn, "Error, expected path missing for {:s}: \"{:s}\"".format( + message_status(msg_fn, "Error, file missing from {:s}: \"{:s}\"".format( manifest.type, filepath, )) @@ -2032,7 +2032,7 @@ class subcmd_author: ok = True for filepath in expected_files: if zip_fh.NameToInfo.get(filepath) is None: - message_status(msg_fn, "Error, expected path missing for {:s}: \"{:s}\"".format( + message_status(msg_fn, "Error, file missing from {:s}: \"{:s}\"".format( manifest.type, filepath, ))