Skip to content

Commit

Permalink
umu_run: use None instead of Optional
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Dec 15, 2024
1 parent c1c7d40 commit f22c9d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion umu/umu_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class GamescopeAtom(Enum):
# "1070560": ("scout", "steamrt1"),
"1391110": ("soldier", "steamrt2"),
"1628350": ("sniper", "steamrt3"),
# "": ("medic": "steamrt4"),
# "": ("medic", "steamrt4"),
}

XDG_CACHE_HOME: Path = (
Expand Down
4 changes: 2 additions & 2 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from re import match
from socket import AF_INET, SOCK_DGRAM, socket
from subprocess import Popen
from typing import Any, Optional
from typing import Any

from filelock import FileLock
from urllib3 import PoolManager, Retry
Expand Down Expand Up @@ -314,7 +314,7 @@ def enable_steam_game_drive(env: dict[str, str]) -> dict[str, str]:
def build_command(
env: dict[str, str],
local: Path,
opts: Optional | list[str] = None,
opts: list[str] | None = None,
) -> tuple[Path | str, ...]:
"""Build the command to be executed."""
shim: Path = local.joinpath("umu-shim")
Expand Down

0 comments on commit f22c9d3

Please sign in to comment.