Tools: fix wsl2 check in sim_vehicle to match uploader.py

This commit is contained in:
Tom Pittenger 2023-01-04 15:36:27 -08:00 committed by Peter Barker
parent d9564d973d
commit 401f55254b

View File

@ -196,8 +196,8 @@ def under_vagrant():
def under_wsl2():
from platform import uname
return 'microsoft-standard-WSL2' in uname().release
import platform
return 'microsoft-standard-WSL2' in platform.release()
def wsl2_host_ip():