fix: change message for local nyacme hook

This commit is contained in:
ptrcnull 2024-08-10 21:16:54 +02:00
parent aa8d3a04d6
commit f7ef3c7c47

View file

@ -53,7 +53,7 @@ def main() -> None:
hook_path = shutil.which('nyacme-hook') hook_path = shutil.which('nyacme-hook')
if not hook_path: if not hook_path:
log.warning('nyacme-hook not found') log.warning('nyacme-hook not found')
log.warning('setting hook path to `python -m nyacme.hook` instead') log.warning('setting hook path to project dir instead')
hook_path = os.path.join(os.path.dirname(__file__), '..', 'nyacme-hook') hook_path = os.path.join(os.path.dirname(__file__), '..', 'nyacme-hook')
res = subprocess.run([ res = subprocess.run([