Skip to content

Commit ca6362a

Browse files
committed
loosen windows version test
1 parent ed6444f commit ca6362a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def docker_windows_path_adjust(path):
7373
if path is not None and onWindows():
7474
split = path.split(':')
7575
if len(split) == 2:
76-
if int(platform.win32_ver()[0]) < 9: # type: ignore
76+
if platform.win32_ver()[0] in ('7', '8'): # type: ignore
7777
split[0] = split[0].lower() # Docker toolbox uses lowecase windows Drive letters
7878
else:
7979
split[0] = split[0].capitalize()

0 commit comments

Comments
 (0)