Skip to content

Commit

Permalink
Fix variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Feb 9, 2024
1 parent efb574e commit dd610f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunshotmatch_cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def complete_table(ctx: click.Context, param: click.Parameter, incomplete: str)
table_names = [table for table in tables if table.startswith(incomplete)]
completions = []
for table in table_names:
if ' ' in table_names:
if ' ' in table:
completions.append(CompletionItem('"' + table.replace(' ', "\\ ") + '"'))
else:
completions.append(CompletionItem(table))
Expand Down

0 comments on commit dd610f7

Please sign in to comment.