mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-07-27 04:12:10 +08:00
5de48a7668
old-commit-hash: 4653a9aef031b0389d6b2440085c961bd2933cf8
4 lines
158 B
Python
4 lines
158 B
Python
import os
|
|
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "common", "version.h")) as _versionf:
|
|
version = _versionf.read().split('"')[1]
|