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