mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-17 09:24:34 +08:00
Update __init__.py (#1177)
chore: bugfix, darwin also contains a "win" :), so ...
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user