Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-11 10:43:39 +00:00
parent 6acf3a99fa
commit 0eff98c48c

View File

@ -27,7 +27,7 @@ def new_user_id():
demo_object = ['test']
with open('/tmp/demo_object.pkl', 'wb') as f:
pickle.dump(demo_object, f)
(minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
#funktionalität implementieres s3 Platzhalterdatei anlegen für user,
return(id)