Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-10 10:33:33 +00:00
parent d4e1fa6728
commit 711e78cfbe

View File

@ -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