mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 21:42:48 +01:00
Add lib param to database_change event
This commit is contained in:
parent
03c311696f
commit
5debf9f1f4
1 changed files with 1 additions and 1 deletions
|
|
@ -979,7 +979,7 @@ class Transaction(object):
|
|||
the row ID of the last affected row.
|
||||
"""
|
||||
cursor = self.lib._connection().execute(statement, subvals)
|
||||
plugins.send('database_change')
|
||||
plugins.send('database_change', lib=self.lib)
|
||||
return cursor.lastrowid
|
||||
|
||||
def script(self, statements):
|
||||
|
|
|
|||
Loading…
Reference in a new issue