Skip to content

Commit

Permalink
Update __init__.py (microsoft#1177)
Browse files Browse the repository at this point in the history
chore: bugfix, darwin also contains a "win" :), so ...
  • Loading branch information
plpycoin committed Jul 7, 2022
1 parent 09899ea commit eae9792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eae9792

Please sign in to comment.