mirror of
https://github.com/Niko1221/Strata.git
synced 2026-11-07 14:21:06 -10:00
launch: _host_platform imports sysinfo (the earlier edit left the name undefined, #4975)
This commit is contained in:
1 parent
2bfd151578
commit
576d06553c
1 file changed
+1
-1
@@ -454,7 +454,7 @@ def apply_defaults(s: S.LaunchSettings, catalog) -> tuple[S.LaunchSettings, list
|
||||
|
||||
def _host_platform() -> tuple[str, str]:
|
||||
"""(sys.platform, sysinfo.machine()) of this computer, in one place the tests can replace."""
|
||||
import platform
|
||||
from strata_control import sysinfo
|
||||
return sys.platform, sysinfo.machine()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user