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):