From 0d8a8300e414cdadcc112cb3b8dfe71515a44b82 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Sun, 19 Dec 2021 18:11:34 +0530 Subject: [PATCH] Fix `None` value warning in `builder/symlinks.py` --- CHANGELOG.md | 1 + builder/src/symlinks.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 435a37a..1b4016b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/builder/src/symlinks.py b/builder/src/symlinks.py index a9902ee..6329316 100644 --- a/builder/src/symlinks.py +++ b/builder/src/symlinks.py @@ -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)