Update 'face_recognition/app/app.py'
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user