Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-08 19:06:21 +00:00
parent c11283be8f
commit 186ae8525f

View File

@ -8,7 +8,7 @@ def hello_docker():
@app.route('/acces_minio')
def access_minio():
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=True)
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=True)
return minioClient.list_buckets()