mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 22:53:57 +08:00
* enable some more flake8 checks * some more quick ones * bump opendbc * e401 * e711 e712 * e115 e116 * e222 * e301 * remove that * e129 * e701 e702 * e125 e131 * e227 * e306 * e262 * W503 * e713 * e704 * e731 * bump opendbc * fix some e722
10 lines
327 B
Python
Executable File
10 lines
327 B
Python
Executable File
#!/usr/bin/env python
|
|
from common.params import Params
|
|
from selfdrive.version import terms_version, training_version
|
|
|
|
if __name__ == '__main__':
|
|
params = Params()
|
|
params.put("HasAcceptedTerms", str(terms_version, 'utf-8'))
|
|
params.put("CompletedTrainingVersion", str(training_version, 'utf-8'))
|
|
print("Terms Accepted!")
|