From d97f13a899f2ea8a31afe04cc125478ab0d239be Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sun, 24 Jun 2012 13:30:36 -0700 Subject: [PATCH] pypy-compatible sqlite3 invocation --- beets/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/library.py b/beets/library.py index 57e4ef0c1..dcc7b3ba0 100644 --- a/beets/library.py +++ b/beets/library.py @@ -1053,7 +1053,7 @@ class Library(BaseLibrary): return self._connections[thread_id] else: # Make a new connection. - conn = sqlite3.connect(self.path, self.timeout) + conn = sqlite3.connect(self.path, timeout=self.timeout) # Access SELECT results like dictionaries. conn.row_factory = sqlite3.Row