aboutsummaryrefslogtreecommitdiff
path: root/api/randid.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-11 18:03:11 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-11 18:03:11 +0200
commitdeb09e5c749e3353c927d7fe94bbd35f25ff85ee (patch)
tree702ba982530aa98a96ddece365a32be842dae3c2 /api/randid.py
parent28f104de9ae9abe4b42abafbf3865ede5687996c (diff)
dprint yapf continuation align style edit
Diffstat (limited to 'api/randid.py')
-rw-r--r--api/randid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/randid.py b/api/randid.py
index c837c2f..6c1ca9d 100644
--- a/api/randid.py
+++ b/api/randid.py
@@ -10,8 +10,8 @@ def new_uuid(table_name):
column_name = tables[table_name]
# check if id is already taken
if cursor.execute(
- f"select {column_name} from {table_name} where {column_name} = ?",
- [temp_uuid]
+ f"select {column_name} from {table_name} where {column_name} = ?",
+ [temp_uuid]
).fetchone():
return new_uuid(table_name)
else: