From 97eec2c16db65dd8f09ef045f48717dd0942c915 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 30 Sep 2010 16:52:14 -0600 Subject: [PATCH] ... --- src/calibre/startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/startup.py b/src/calibre/startup.py index 143a3edb47..1712a08ab1 100644 --- a/src/calibre/startup.py +++ b/src/calibre/startup.py @@ -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