Skip to content

Commit

Permalink
Hotfix for #1757 (#1759)
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull authored Dec 15, 2024
1 parent 6f18c52 commit 7abf919
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion osxphotos/image_file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

def file_conforms_to_uti(path: str | os.PathLike, uti: str) -> bool:
"""Return True if file at path conforms to UTI"""
return conforms_to_uti(uti_for_path(path), uti)
return conforms_to_uti(uti_for_path(path) or "", uti)


@cache
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tenacity>=8.0.1,<9.0.0
textx>=4.0.1,<5.0.0
toml>=0.10.2,<0.11.0
tzdata
utitools>=0.2.0
utitools>=0.3.0
wrapt>=1.14.1,<2.0.0
wurlitzer>=3.0.2,<4.0.0
xdg-base-dirs>=6.0.0; python_version >= '3.10'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"textx>=4.0.1,<5.0.0",
"toml>=0.10.2,<0.11.0",
"tzdata",
"utitools>=0.2.0",
"utitools>=0.3.0",
"wrapt>=1.14.1,<2.0.0",
"wurlitzer>=3.0.2,<4.0.0",
"xdg==5.1.1; python_version <= '3.9'",
Expand Down

0 comments on commit 7abf919

Please sign in to comment.