Files
sunnypilot/selfdrive/version.py
2017-05-11 12:41:17 -07:00

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]