Skip to content

Commit 9996e2f

Browse files
committed
Parameters are encoded strings, not Unicode.
1 parent dbe774c commit 9996e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdflib_sqlalchemy/SQLAlchemy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def py_to_sql(param):
331331
return 'NULL'
332332
if isinstance(param, int):
333333
return param
334-
return u"'%s'" % param
334+
return "'%s'" % param
335335
params = tuple(map(py_to_sql, params))
336336
querystr = qStr.replace('"', "'")
337337
cursor.execute(querystr % params)

0 commit comments

Comments
 (0)