Update 'face_recognition/app/app.py'
This commit is contained in:
parent
d4e1fa6728
commit
711e78cfbe
@ -19,7 +19,7 @@ def access_minio():
|
|||||||
@app.route('/new_user_id')
|
@app.route('/new_user_id')
|
||||||
def new_user_id():
|
def new_user_id():
|
||||||
id = None
|
id = None
|
||||||
for try in range(0,5):
|
for limited_try in range(0,5):
|
||||||
id = str(uuid.uuid4())
|
id = str(uuid.uuid4())
|
||||||
if check_id(id) == False:
|
if check_id(id) == False:
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user