Fix None value warning in builder/symlinks.py

This commit is contained in:
ful1e5 2021-12-31 14:47:20 +05:30
parent a1fe1b24a2
commit 9d03bc33f4
2 changed files with 2 additions and 1 deletions

View file

@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Github Action renamed to `build`
- prettier `bitmapping` logs
- `svg/link.py` file added inside pyright config
- Fix `None` value warning in `builder/symlinks.py`
## [Bibata v1.1.2] - 12 Jul 2021

View file

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