1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-17 17:34:35 +08:00

Update __init__.py (#1177)

chore: bugfix, darwin also contains a "win" :), so ...
This commit is contained in:
plpycoin
2022-07-07 20:04:24 +08:00
committed by GitHub
parent 59b1820447
commit 9b446f9a92

View File

@@ -94,7 +94,7 @@ def _mount_nfs_uri(provider_uri, mount_path, auto_mount: bool = False):
else: else:
# Judging system type # Judging system type
sys_type = platform.system() sys_type = platform.system()
if "win" in sys_type.lower(): if "windows" in sys_type.lower():
# system: window # system: window
exec_result = os.popen(f"mount -o anon {provider_uri} {mount_path}") exec_result = os.popen(f"mount -o anon {provider_uri} {mount_path}")
result = exec_result.read() result = exec_result.read()