From aef01f4bdfc03929a7ad046e867ef975f81b7b59 Mon Sep 17 00:00:00 2001 From: William Date: Fri, 8 May 2020 21:08:11 -0400 Subject: [PATCH] Shebang Fix (#1477) * Shebang Fix Per George's "I'd merge a PR replacing the 4 python3.7 with python3" on Discord. George updated Python to 3.8.2 for webcam tools, which broke manager from launching. Instead of chasing the exact version, it seems more reasonable to fall back to 3. * More Python3.7's --- scripts/get_fan_control_type.py | 2 +- selfdrive/athena/athenad.py | 2 +- selfdrive/manager.py | 2 +- selfdrive/thermald/thermald.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/get_fan_control_type.py b/scripts/get_fan_control_type.py index cc1b99296..d98f60566 100755 --- a/scripts/get_fan_control_type.py +++ b/scripts/get_fan_control_type.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3 import os from smbus2 import SMBus diff --git a/selfdrive/athena/athenad.py b/selfdrive/athena/athenad.py index a8b0377c1..b9e8d79e6 100755 --- a/selfdrive/athena/athenad.py +++ b/selfdrive/athena/athenad.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3 import json import os import hashlib diff --git a/selfdrive/manager.py b/selfdrive/manager.py index fc8f95068..1fe4a0278 100755 --- a/selfdrive/manager.py +++ b/selfdrive/manager.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3 import os import time import sys diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index e8d09d56a..1d69547cd 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3 import os import json import copy