Show More
@@ -209,7 +209,7 b' class posixfile_nt(object):' | |||
|
209 | 209 | |
|
210 | 210 | def __init__(self, name, mode='rb'): |
|
211 | 211 | access = 0 |
|
212 | if 'r' in mode: | |
|
212 | if 'r' in mode or '+' in mode: | |
|
213 | 213 | access |= win32file.GENERIC_READ |
|
214 | 214 | if 'w' in mode or 'a' in mode or '+' in mode: |
|
215 | 215 | access |= win32file.GENERIC_WRITE |
General Comments 0
You need to be logged in to leave comments.
Login now