diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/security.py | 2 | ||||
-rw-r--r-- | common/utils.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/common/security.py b/common/security.py index e3ab5de..d021fcf 100644 --- a/common/security.py +++ b/common/security.py @@ -17,4 +17,4 @@ pwd_context = CryptContext( # (appropriate values may vary for different schemes, # and the amount of time you wish it to take) pbkdf2_sha256__default_rounds=8000, - ) +) diff --git a/common/utils.py b/common/utils.py index efac527..f1134a7 100644 --- a/common/utils.py +++ b/common/utils.py @@ -15,11 +15,11 @@ def make_where_clause(params, join_operator="AND"): condition_subphrase = "" if operator == "BETWEEN": - condition_subphrase = " ".join(("%s", operator, - ":%s1 AND :%s2")) + condition_subphrase = " ".join( + ("%s", operator, ":%s1 AND :%s2")) - where_items.append(condition_subphrase % (column, column, - column)) + where_items.append(condition_subphrase % + (column, column, column)) else: condition_subphrase = " ".join(("%s", operator, ":%s")) |