mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 02:24:33 +01:00
pypy-compatible sqlite3 invocation
This commit is contained in:
parent
713faca533
commit
d97f13a899
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue