This commit is contained in:
Thomas Nagy 2012-06-07 17:32:01 +02:00
parent 96c5155766
commit f19e7cb3c8
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ def h_file(fname):
if hasattr(os, 'O_NOINHERIT'):
def readf_win32(f, m='r', encoding='ISO8859-1'):
flags = os.O_NOINHERIT | os.O_RDONLY | OS.O_BINARY
flags = os.O_NOINHERIT | os.O_RDONLY | os.O_BINARY
if '+' in m:
flags |= os.O_RDWR
try: