Update 'face_recognition/app/app.py'
This commit is contained in:
parent
0eff98c48c
commit
b06546cac6
@ -37,7 +37,7 @@ def check_id(id):
|
|||||||
users = minioClient.list_objects('users')
|
users = minioClient.list_objects('users')
|
||||||
known = False
|
known = False
|
||||||
for user in users:
|
for user in users:
|
||||||
if id == user.object_name.encode('utf-8'):
|
if id == user.object_name:
|
||||||
known = True
|
known = True
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user