Skip to content

Commit

Permalink
correctly turn Path into str
Browse files Browse the repository at this point in the history
  • Loading branch information
damonlynch committed Sep 8, 2021
1 parent 6f63328 commit 94913ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/showinfm/system/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def quote_path(path: Path) -> Path:
:return: double quoted path
"""

p = str(Path)
p = str(path)
if current_platform == Platform.windows:
# Double quotes are not allowed in paths names - they are used for quoting

Expand Down

0 comments on commit 94913ab

Please sign in to comment.