Skip to content
Snippets Groups Projects
Commit ce9a04a3 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Fix typo in reindex command

parent fb824bc5
No related branches found
No related tags found
1 merge request!2391Fix typo in reindex command
...@@ -43,7 +43,7 @@ class Command(BaseCommand): ...@@ -43,7 +43,7 @@ class Command(BaseCommand):
if not corpora.exists(): if not corpora.exists():
raise CommandError(f"Corpus {corpus_id} does not exist or is not indexable") raise CommandError(f"Corpus {corpus_id} does not exist or is not indexable")
else: else:
raise CommandError("Either spcify a corpus ID with --corpus-id or index all corpus through --all") raise CommandError("Either specify a corpus ID with --corpus-id or index all corpus through --all")
for corpus in corpora: for corpus in corpora:
self.stdout.write(f"Indexing {corpus.name}") self.stdout.write(f"Indexing {corpus.name}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment