1
0
Fork 0

fonts: gen.py: clearify missing exe message

This commit is contained in:
Reinhold Gschweicher 2022-05-14 22:12:06 +02:00 committed by Riku Isokoski
parent 324927f2b7
commit 443408312a

View file

@ -39,7 +39,7 @@ def main():
args = ap.parse_args() args = ap.parse_args()
if not shutil.which(args.lv_font_conv): if not shutil.which(args.lv_font_conv):
sys.exit(f'Missing lv_font_conv. (make sure it is installed and in PATH)') sys.exit(f"Missing lv_font_conv. Make sure it's findable (in PATH) or specify it manually")
if not os.path.exists(args.config): if not os.path.exists(args.config):
sys.exit(f'Error: the config file {args.config} does not exist.') sys.exit(f'Error: the config file {args.config} does not exist.')
if not os.access(args.config, os.R_OK): if not os.access(args.config, os.R_OK):