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 |         filepath = pathclass.Path(filepath).absolute_path | ||||||
|         query = 'SELECT albumid FROM album_associated_directories WHERE directory == ?' |         query = 'SELECT albumid FROM album_associated_directories WHERE directory == ?' | ||||||
|         bindings = [filepath] |         bindings = [filepath] | ||||||
|         album_row = self.sql_select_one(query, binding) |         album_row = self.sql_select_one(query, bindings) | ||||||
|         if album_row is None: |         if album_row is None: | ||||||
|             raise exceptions.NoSuchAlbum(filepath) |             raise exceptions.NoSuchAlbum(filepath) | ||||||
|         album_id = album_row[0] |         album_id = album_row[0] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue