Skip to content

Commit

Permalink
fix bug in ui/main.py interpreting sys.argv[0] as input filename
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Jan 5, 2025
1 parent 599be57 commit 18cc623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyglossary/ui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def mainPrepare(argv: list[str]) -> tuple[bool, MainPrepareResult | None]:

# _______________________________

args = parser.parse_args(argv)
args = parser.parse_args(argv[1:])

# parser.conflict_handler == "error"

Expand Down

0 comments on commit 18cc623

Please sign in to comment.