Fixed deprecation warning

This commit is contained in:
Rhet Turnbull
2021-06-23 22:40:23 -07:00
parent 49317582c4
commit 3fbfc55e84

View File

@@ -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