python/steamutil: fix platform_override

master
Taeyeon Mori 2 months ago
parent 9c8afdcf58
commit b6c056c5ca
  1. 2
      lib/python/steamutil.py

@ -135,7 +135,7 @@ class App(AppInfo):
# Steam Play info # Steam Play info
@property @property
def platform_override(self) -> Tuple[Optional[str], Optional[str]]: def platform_override(self) -> Tuple[Optional[str], Optional[str]]:
uc = dd_getpath(self.manifest, ("AppState", "UserConfig"), None, t=Dict[str, str]) uc = dd_getpath(self.manifest, ("AppState", "UserConfig"), None, t=dict)
if uc: if uc:
return uc.get("platform_override_source", None), uc.get("platform_override_dest", None) return uc.get("platform_override_source", None), uc.get("platform_override_dest", None)
return None, None return None, None

Loading…
Cancel
Save