From 69fbd03cebe4d8ea35f4cee1ab545cbec892a92c Mon Sep 17 00:00:00 2001 From: Sylvain Gaudan Date: Tue, 30 Jul 2024 18:32:04 +0200 Subject: [PATCH] fix i --- arlas/cli/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arlas/cli/index.py b/arlas/cli/index.py index fe492a9..0e34ed2 100644 --- a/arlas/cli/index.py +++ b/arlas/cli/index.py @@ -77,8 +77,8 @@ def data( bulk: int = typer.Option(default=100, help="Bulk size for indexing data") ): config = variables["arlas"] + i = 1 for file in files: - i = 1 if not os.path.exists(file): print("Error: file \"{}\" not found.".format(file), file=sys.stderr) exit(1)