From 3fbfc55e84756844070f4080ce415ba77d5c7665 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Wed, 23 Jun 2021 22:40:23 -0700 Subject: [PATCH] Fixed deprecation warning --- osxphotos/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osxphotos/utils.py b/osxphotos/utils.py index 361dccec..0346bd9d 100644 --- a/osxphotos/utils.py +++ b/osxphotos/utils.py @@ -420,7 +420,7 @@ def increment_filename(filepath): 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: expanded path if path is valid file, else None