From c0df14db62d8c015ef7b2ce48fc760aee3d53512 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 4 Apr 2018 21:40:39 -0700 Subject: [PATCH] Fix typo binding -> bindings. --- etiquette/photodb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index 22360dd..00f91ab 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -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]