Fixed deprecation warning
This commit is contained in:
@@ -420,7 +420,7 @@ def increment_filename(filepath):
|
|||||||
|
|
||||||
|
|
||||||
def expand_and_validate_filepath(path: str) -> str:
|
def expand_and_validate_filepath(path: str) -> str:
|
||||||
"""validate and expand ~ in filepath, also un-escapes "\ "
|
"""validate and expand ~ in filepath, also un-escapes spaces
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
expanded path if path is valid file, else None
|
expanded path if path is valid file, else None
|
||||||
|
|||||||
Reference in New Issue
Block a user