diff options
| author | lonkaars <l.leblansch@gmail.com> | 2021-04-11 18:03:11 +0200 | 
|---|---|---|
| committer | lonkaars <l.leblansch@gmail.com> | 2021-04-11 18:03:11 +0200 | 
| commit | deb09e5c749e3353c927d7fe94bbd35f25ff85ee (patch) | |
| tree | 702ba982530aa98a96ddece365a32be842dae3c2 /api/randid.py | |
| parent | 28f104de9ae9abe4b42abafbf3865ede5687996c (diff) | |
dprint yapf continuation align style edit
Diffstat (limited to 'api/randid.py')
| -rw-r--r-- | api/randid.py | 4 | 
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:  |