diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-14 15:50:07 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-14 15:50:07 +0100 |
| commit | e1fba831b7c22f9840c5e92227f688079b9a206e (patch) | |
| tree | 834e4160b2a9ae54800c55e9d0e42d20f83513f5 /megapixels/commands/faiss/sync.py | |
| parent | 9e7713e83a99d8ca50ffff49def7085bb8f4e09c (diff) | |
mysql import script
Diffstat (limited to 'megapixels/commands/faiss/sync.py')
| -rw-r--r-- | megapixels/commands/faiss/sync.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 + '/', ]) |
