We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cb3ff0 commit 93098b9Copy full SHA for 93098b9
setup.py
@@ -16,5 +16,5 @@
16
package_dir={"": "src"},
17
packages=["cs50"],
18
url="https://github.com/cs50/python-cs50",
19
- version="5.0.4"
+ version="5.0.5"
20
)
src/cs50/sql.py
@@ -455,7 +455,7 @@ def __escape(value):
455
456
# Escape value(s), separating with commas as needed
457
if type(value) in [list, tuple]:
458
- return sqlparse.sql.TokenList([__escape(v) for v in value])
+ return sqlparse.sql.TokenList(sqlparse.parse(", ".join([str(__escape(v)) for v in value])))
459
else:
460
return __escape(value)
461
0 commit comments