Fix None value warning in builder/symlinks.py

This commit is contained in:
ful1e5 2021-12-19 18:11:34 +05:30
parent 8d71eca4d7
commit 0d8a8300e4
2 changed files with 2 additions and 1 deletions

View file

@ -163,6 +163,6 @@ def add_missing_xcursor(directory: Union[str, Path]) -> None:
with chdir(directory):
for item in symlinks:
src: str = str(item["src"])
for link in item.get("links"):
for link in item["links"]:
print(f"Creating symlink {src} -> {link}")
os.symlink(src, link)