From f4b040b4d576e10076e39a0890e28695ccf873b7 Mon Sep 17 00:00:00 2001 From: Asher Norland Date: Sun, 22 May 2022 20:26:21 -0400 Subject: [PATCH] Fix None Toolchain --- cppython/schema.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cppython/schema.py b/cppython/schema.py index 00c8b0b..62230e5 100644 --- a/cppython/schema.py +++ b/cppython/schema.py @@ -46,7 +46,10 @@ def validate_path(cls, value): # pylint: disable=E0213 """ TODO """ - return Path(value).as_posix() + if value is not None: + return Path(value).as_posix() + + return None class BuildPreset(Preset):