Skip to content

Commit

Permalink
umu_run: fix exception when passing no winetricks verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jun 5, 2024
1 parent 93dad7f commit 757ffe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def parse_args() -> Namespace | tuple[str, list[str]]: # noqa: D103

# Winetricks
# Exit if no winetricks verbs were passed
if sys.argv[1].endswith("winetricks") and not sys.argv[2:][0]:
if sys.argv[1].endswith("winetricks") and not sys.argv[2:]:
err: str = "No winetricks verb specified"
log.error(err)
sys.exit(1)
Expand Down

0 comments on commit 757ffe5

Please sign in to comment.