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:
|
if random:
|
||||||
flags = os._O_RDWR | os._O_RANDOM
|
flags = os._O_RDWR | os._O_RANDOM
|
||||||
else:
|
else:
|
||||||
flags = os._WRONLY | os._O_SEQUENTIAL
|
flags = os._O_WRONLY | os._O_SEQUENTIAL
|
||||||
flags |= os._O_TRUNC | os._O_CREAT
|
flags |= os._O_TRUNC | os._O_CREAT
|
||||||
if binary:
|
if binary:
|
||||||
flags |= os._O_BINARY
|
flags |= os._O_BINARY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user