We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9631942 commit 57f8ed7Copy full SHA for 57f8ed7
docs/samples/filmfestival-sql.py
@@ -88,7 +88,7 @@
88
film.find(None, "id", "filmyear").add_text(str(year)) # put year
89
90
# the actors reside in their own table - find the ones for this film title
91
- cursor_casts.execute(select_casts, tuple(title)) # execute cursor
+ cursor_casts.execute(select_casts, (title,)) # execute cursor
92
casts = cursor_casts.fetchall() # read actors for the film
93
# each actor name appears in its own tuple, so extract it from there
94
film.find(None, "id", "cast").add_text("\n".join([c[0] for c in casts]))
0 commit comments