fixed warning messages
This commit is contained in:
parent
f79a3ea05a
commit
ec274c94d9
4
main.py
4
main.py
@ -13,10 +13,10 @@ def iter_svgs(vault_path, draws):
|
||||
for draw in draws:
|
||||
svg = Path("assets/excalidraw_svg").joinpath(Path(draw).with_suffix(".svg").name)
|
||||
if vault_path.joinpath(svg).is_file():
|
||||
print("::debug [found]", svg)
|
||||
print("::debug::[found]", svg)
|
||||
yield draw, svg
|
||||
else:
|
||||
eprint("::warning [missing]:", svg)
|
||||
eprint("::error::[missing]", svg)
|
||||
yield draw, None
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user