summaryrefslogtreecommitdiff
path: root/common/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/utils.py')
-rw-r--r--common/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/utils.py b/common/utils.py
index a7489f9..efac527 100644
--- a/common/utils.py
+++ b/common/utils.py
@@ -53,7 +53,7 @@ def update_clause_from_dict(data):
try:
for key in data.keys():
- update_items.append("%s = :%s", (key, key))
+ update_items.append("%s = :%s" % (key, key))
if len(update_items) > 1:
update_clause = ", ".join(update_items)