From eae979244298f33fbb172350eb8f356137e35fcb Mon Sep 17 00:00:00 2001 From: plpycoin <103234125+plpycoin@users.noreply.github.com> Date: Thu, 7 Jul 2022 20:04:24 +0800 Subject: [PATCH] Update __init__.py (#1177) chore: bugfix, darwin also contains a "win" :), so ... --- qlib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qlib/__init__.py b/qlib/__init__.py index 5d152c4c93..3a666c5bef 100644 --- a/qlib/__init__.py +++ b/qlib/__init__.py @@ -94,7 +94,7 @@ def _mount_nfs_uri(provider_uri, mount_path, auto_mount: bool = False): else: # Judging system type sys_type = platform.system() - if "win" in sys_type.lower(): + if "windows" in sys_type.lower(): # system: window exec_result = os.popen(f"mount -o anon {provider_uri} {mount_path}") result = exec_result.read()