summaryrefslogtreecommitdiff
path: root/topics/queries-and-prepared-statements-in-python.gmi
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-09-27 06:24:31 +0300
committerFrederick Muriuki Muriithi2022-09-27 06:25:21 +0300
commitb992ade9e93f0235f79a9b28017ba022f724862a (patch)
tree554da4a1c9386e47f938023357326bb87ccb320c /topics/queries-and-prepared-statements-in-python.gmi
parent03e406922683ed6e90c22a822967f245f49da6b8 (diff)
downloadgn-gemtext-b992ade9e93f0235f79a9b28017ba022f724862a.tar.gz
topics: fix typo in documentation.
Diffstat (limited to 'topics/queries-and-prepared-statements-in-python.gmi')
-rw-r--r--topics/queries-and-prepared-statements-in-python.gmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/topics/queries-and-prepared-statements-in-python.gmi b/topics/queries-and-prepared-statements-in-python.gmi
index 642ed96..969c27f 100644
--- a/topics/queries-and-prepared-statements-in-python.gmi
+++ b/topics/queries-and-prepared-statements-in-python.gmi
@@ -29,7 +29,7 @@ curr.execute(
WHERE Strain.Name IN ({})
and Strain.SpeciesId=Species.Id
and Species.name = %s
- """.format(", ".join(sample_data_keys)),
+ """.format(", ".join(["%s"] * len(sample_data_keys))),
(sample_data_keys + (dataset.group.species,)))
```