Fix typo binding -> bindings.
This commit is contained in:
parent
abe82dde9e
commit
c0df14db62
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class PDBAlbumMixin:
|
|||
filepath = pathclass.Path(filepath).absolute_path
|
||||
query = 'SELECT albumid FROM album_associated_directories WHERE directory == ?'
|
||||
bindings = [filepath]
|
||||
album_row = self.sql_select_one(query, binding)
|
||||
album_row = self.sql_select_one(query, bindings)
|
||||
if album_row is None:
|
||||
raise exceptions.NoSuchAlbum(filepath)
|
||||
album_id = album_row[0]
|
||||
|
|
Loading…
Reference in a new issue