diff options
| author | Frederick Muriuki Muriithi | 2022-09-27 06:24:31 +0300 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2022-09-27 06:25:21 +0300 |
| commit | b992ade9e93f0235f79a9b28017ba022f724862a (patch) | |
| tree | 554da4a1c9386e47f938023357326bb87ccb320c /topics | |
| parent | 03e406922683ed6e90c22a822967f245f49da6b8 (diff) | |
| download | gn-gemtext-b992ade9e93f0235f79a9b28017ba022f724862a.tar.gz | |
topics: fix typo in documentation.
Diffstat (limited to 'topics')
| -rw-r--r-- | topics/queries-and-prepared-statements-in-python.gmi | 2 |
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,))) ``` |
