mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
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
|
||||
try:
|
||||
path.relative_to(base)
|
||||
return True
|
||||
except ValueError:
|
||||
pass
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue
Block a user