Fix missing return statement in is_Relative_to
This commit is contained in:
parent
4b65206e6b
commit
4115121c24
@ -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
|
# Helper function simulating behaviour of is_relative_to, which was only added in python 3.9
|
||||||
try:
|
try:
|
||||||
path.relative_to(base)
|
path.relative_to(base)
|
||||||
|
return True
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user