Skip to content

Commit

Permalink
fix: Happy mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
koplo199 committed Aug 15, 2023
1 parent 5f9c734 commit 746dd7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bottles/backend/wine/winecommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def get_env(self, environment: Optional[dict] = None, return_steam_env: bool = F

return env.get()["envs"]

def _get_runner_info(self) -> (str, str):
def _get_runner_info(self) -> list:
config = self.config
runner = ManagerUtils.get_runner_path(config.Runner)
arch = config.Arch
Expand All @@ -416,7 +416,7 @@ def _get_runner_info(self) -> (str, str):
runner = config.RunnerPath

if runner in [None, ""]:
return ""
return ["", ""]

if SteamUtils.is_proton(runner):
'''
Expand All @@ -442,7 +442,7 @@ def _get_runner_info(self) -> (str, str):

runner = runner.replace(" ", "\\ ")

return runner, runner_runtime
return [runner, runner_runtime]

def get_cmd(
self,
Expand Down

0 comments on commit 746dd7b

Please sign in to comment.