Skip to content

Commit

Permalink
Fix repl arg error
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Mar 30, 2024
1 parent c29b328 commit ca73cf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flapi/cli/repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ def start_ipython_shell():
@click.option('-v', '--verbose', count=True)
def repl(
shell: Optional[str] = None,
req_port: str = consts.DEFAULT_REQ_PORT,
res_port: str = consts.DEFAULT_RES_PORT,
req: str = consts.DEFAULT_REQ_PORT,
res: str = consts.DEFAULT_RES_PORT,
timeout: float = cli_consts.CONNECTION_TIMEOUT,
verbose: int = 0,
):
Expand All @@ -217,7 +217,7 @@ def repl(
print(f"Python version: {sys.version}")

# Set up the connection
status = enable(req_port, res_port)
status = enable(req, res)

if not status:
status = wait_for_connection(timeout)
Expand Down

0 comments on commit ca73cf3

Please sign in to comment.