Fix missing return statement in is_Relative_to

This commit is contained in:
Matthias 2021-08-16 07:26:58 +02:00
parent 4b65206e6b
commit 4115121c24

View File

@ -33,6 +33,7 @@ def is_relative_to(path, base) -> bool:
# Helper function simulating behaviour of is_relative_to, which was only added in python 3.9
try:
path.relative_to(base)
return True
except ValueError:
pass
return False