mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 02:52:33 +01:00
Update db.py
This commit is contained in:
parent
bccfcb6b4f
commit
cb2f47d8d9
1 changed files with 3 additions and 3 deletions
|
|
@ -685,9 +685,9 @@ class Transaction(object):
|
|||
the row ID of the last affected row.
|
||||
"""
|
||||
|
||||
cursor = self.db._connection().execute(statement, subvals)
|
||||
raise AccessFileError("unable to open database file. It might be a permissions problem")
|
||||
return cursor.lastrowid
|
||||
cursor = self.db._connection().execute(statement, subvals)
|
||||
raise AccessFileError("unable to open database file. It might be a permissions problem")
|
||||
return cursor.lastrowid
|
||||
|
||||
|
||||
def script(self, statements):
|
||||
|
|
|
|||
Loading…
Reference in a new issue