From bbcb459e2db61597f64aaf6431a6a331ad38520d Mon Sep 17 00:00:00 2001 From: Damon Lynch Date: Sat, 30 Oct 2021 01:11:58 -0400 Subject: [PATCH] Improve doc string for valid_file_manager() --- README.md | 6 +++--- src/showinfm/showinfm.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a1dbaea..be22064 100644 --- a/README.md +++ b/README.md @@ -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. """ ``` diff --git a/src/showinfm/showinfm.py b/src/showinfm/showinfm.py index f838653..5252dda 100644 --- a/src/showinfm/showinfm.py +++ b/src/showinfm/showinfm.py @@ -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: