Skip to content

Commit

Permalink
Improve doc string for valid_file_manager()
Browse files Browse the repository at this point in the history
  • Loading branch information
damonlynch committed Oct 30, 2021
1 parent 483a917 commit bbcb459
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ def valid_file_manager() -> str:
All exceptions are caught, except those if this platform is not supported by
this package.
:return: If the user's default file manager is set and it is known by this
package, then return it. Otherwise return the stock file manager, if it
exists.
:return: If the user's default file manager is set and it is recognized
as valid by this package, then return it. Otherwise return the stock file
manager, if it exists.
"""
```

Expand Down
6 changes: 3 additions & 3 deletions src/showinfm/showinfm.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ def valid_file_manager() -> str:
All exceptions are caught, except those if this platform is not supported by
this package.
:return: If the user's default file manager is set and it is known by this
package, then return it. Otherwise return the stock file manager, if it
exists.
:return: If the user's default file manager is set and it is recognized
as valid by this package, then return it. Otherwise return the stock file
manager, if it exists.
"""

if current_platform == Platform.windows or is_wsl1:
Expand Down

0 comments on commit bbcb459

Please sign in to comment.