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