Fix None value warning in builder/symlinks.py

This commit is contained in:
ful1e5
2021-12-24 16:10:12 +05:30
parent fa799336ae
commit 75c26ae810
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [unreleased]
### Added
-
### Changed
- Fix `None` value warning in `builder/symlinks.py`
## [v1.0.3] - 13 Nov 2021
### Added
+1 -1
View File
@@ -186,6 +186,6 @@ def add_missing_xcursor(directory) -> None:
with chdir(directory):
for item in symlinks:
src = str(item["src"])
for link in item.get("links"):
for link in item["links"]:
print(f"Creating symlink {src} -> {link}")
os.symlink(src, link)