This commit is contained in:
sneakers-the-rat 2024-09-25 14:55:03 -07:00
parent d622b5914f
commit eb96ae17f1
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -86,7 +86,7 @@ def _absolutize_paths(value: dict, skip: Iterable = tuple()) -> dict:
return v return v
try: try:
path = Path(v) path = Path(v)
# skip things that are pathlike but either don't exist # skip things that are pathlike but either don't exist
# or that are at the filesystem root (eg like /data) # or that are at the filesystem root (eg like /data)
if not path.exists() and path.parent != Path().root: if not path.exists() and path.parent != Path().root:
return v return v