Browse Source

Merge pull request #2089 from doccano/fix/run-task

Update cli to avoid ValueError: path must be a filename, not a directory.
pull/2090/head
Hiroki Nakayama 1 year ago
committed by GitHub
parent
commit
9c9af288ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      backend/cli.py

2
backend/cli.py

@ -155,7 +155,7 @@ def main():
# Create a parser for task queue.
parser_queue = subparsers.add_parser("task", help="see `task -h`")
parser_queue.add_argument("--concurrency", type=int, default=2, help="concurrency")
parser_queue.add_argument("--env_file", type=str, default="", help="read in a file of environment variables")
parser_queue.add_argument("--env_file", type=str, help="read in a file of environment variables")
parser_queue.set_defaults(handler=command_run_task_queue)
parser_flower = subparsers.add_parser("flower", help="see `flower -h`")

Loading…
Cancel
Save