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

@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Some cursors are very blurry on lower sizes fixed #74
- `make install` command fixed
- prettier bitmapping logs
- Fix `None` value warning in `builder/symlinks.py`
## [v1.2.3] - 23 Nov 2021

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)