mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3bffc1a48c
commit
97eec2c16d
@ -130,7 +130,7 @@ if not _run_once:
|
||||
if random:
|
||||
flags = os._O_RDWR | os._O_RANDOM
|
||||
else:
|
||||
flags = os._WRONLY | os._O_SEQUENTIAL
|
||||
flags = os._O_WRONLY | os._O_SEQUENTIAL
|
||||
flags |= os._O_TRUNC | os._O_CREAT
|
||||
if binary:
|
||||
flags |= os._O_BINARY
|
||||
|
Loading…
x
Reference in New Issue
Block a user