diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/utils.py | 2 |
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) |