Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-11 10:54:43 +00:00
parent 0eff98c48c
commit b06546cac6

View File

@ -37,7 +37,7 @@ def check_id(id):
users = minioClient.list_objects('users')
known = False
for user in users:
if id == user.object_name.encode('utf-8'):
if id == user.object_name:
known = True
else:
pass