From e1fba831b7c22f9840c5e92227f688079b9a206e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 14 Dec 2018 15:50:07 +0100 Subject: mysql import script --- megapixels/commands/faiss/sync.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'megapixels/commands/faiss/sync.py') diff --git a/megapixels/commands/faiss/sync.py b/megapixels/commands/faiss/sync.py index ae13b948..b01211b4 100644 --- a/megapixels/commands/faiss/sync.py +++ b/megapixels/commands/faiss/sync.py @@ -10,8 +10,9 @@ from app.settings import app_cfg as cfg @click.command() @click.pass_context def cli(ctx): - sts = call([ + """synchronize metadata files from s3""" + sts = subprocess.call([ "s3cmd", "sync", "s3://megapixels/v1/metadata/", - cfg.DIR_FAISS_METADATA, + cfg.DIR_FAISS_METADATA + '/', ]) -- cgit v1.2.3-70-g09d2