Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Jul 20, 2023
1 parent 932b004 commit 7b333ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions electrolytes/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
app = typer.Typer()


def complete_name(ctx: Context, patam: Parameter, incomplete: str) -> List[str]:
def complete_name(ctx: Context, param: Parameter, incomplete: str) -> List[str]:
return [name for name in database if name.startswith(incomplete)]

def complete_name_user_defined(ctx: Context, patam: Parameter, incomplete: str) -> List[str]:
def complete_name_user_defined(ctx: Context, param: Parameter, incomplete: str) -> List[str]:
return [name for name in database.user_defined() if name.startswith(incomplete)]


Expand Down

0 comments on commit 7b333ce

Please sign in to comment.