summaryrefslogtreecommitdiff
path: root/common/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/utils.py')
-rw-r--r--common/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/utils.py b/common/utils.py
index 38ad5ed..a7489f9 100644
--- a/common/utils.py
+++ b/common/utils.py
@@ -13,7 +13,7 @@ def make_where_clause(params, join_operator="AND"):
try:
for (column, operator) in params.items():
condition_subphrase = ""
-
+
if operator == "BETWEEN":
condition_subphrase = " ".join(("%s", operator,
":%s1 AND :%s2"))
@@ -22,7 +22,7 @@ def make_where_clause(params, join_operator="AND"):
column))
else:
condition_subphrase = " ".join(("%s", operator, ":%s"))
-
+
where_items.append(condition_subphrase % (column, column))
where_statement = None