Show More
@@ -1000,7 +1000,8 b" if os.name == 'nt':" | |||
|
1000 | 1000 | pass |
|
1001 | 1001 | |
|
1002 | 1002 | def set_binary(fd): |
|
1003 | msvcrt.setmode(fd.fileno(), os.O_BINARY) | |
|
1003 | if hasattr(fd, 'fileno'): | |
|
1004 | msvcrt.setmode(fd.fileno(), os.O_BINARY) | |
|
1004 | 1005 | |
|
1005 | 1006 | def pconvert(path): |
|
1006 | 1007 | return '/'.join(splitpath(path)) |
General Comments 0
You need to be logged in to leave comments.
Login now