diff --git a/selfdrive/loggerd/config.py b/selfdrive/loggerd/config.py index 3f82b9f8bb..b626073ce4 100644 --- a/selfdrive/loggerd/config.py +++ b/selfdrive/loggerd/config.py @@ -2,8 +2,8 @@ import os from pathlib import Path from selfdrive.hardware import PC -if os.environ.get('LOGGERD_ROOT', False): - ROOT = os.environ['LOGGERD_ROOT'] +if os.environ.get('LOG_ROOT', False): + ROOT = os.environ['LOG_ROOT'] elif PC: ROOT = os.path.join(str(Path.home()), ".comma", "media", "0", "realdata") else: diff --git a/tools/zookeeper/check_consumption.py b/tools/zookeeper/check_consumption.py index 205c0abc02..608e0bfe4c 100755 --- a/tools/zookeeper/check_consumption.py +++ b/tools/zookeeper/check_consumption.py @@ -24,7 +24,3 @@ print(f"Average power: {round(average_power, 4)}W") if average_power > max_average_power: exit(1) - - - -