mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-07 22:52:06 +08:00
Konik Tooling
This commit is contained in:
+15
-1
@@ -1,5 +1,19 @@
|
||||
#!/usr/bin/env python3
|
||||
#!/bin/sh
|
||||
""":"
|
||||
REPO_ROOT="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)"
|
||||
PYTHON_BIN="$REPO_ROOT/.venv/bin/python"
|
||||
|
||||
if [ -x "$PYTHON_BIN" ]; then
|
||||
exec "$PYTHON_BIN" "$0" "$@"
|
||||
fi
|
||||
|
||||
exec python3 "$0" "$@"
|
||||
":"""
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
|
||||
|
||||
from openpilot.tools.lib.logreader import LogReader, ReadMode
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user