* exclude lib dirs, fix 3 cpp errors * fix more alerts, exclude mkvparse Co-authored-by: George Hotz <geohot@gmail.com> old-commit-hash: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
14 lines
241 B
Python
14 lines
241 B
Python
import json
|
|
import sys
|
|
|
|
from tools.lib.route import Route
|
|
|
|
route_name = sys.argv[1]
|
|
routes = Route(route_name)
|
|
data_dump = {
|
|
"camera":routes.camera_paths(),
|
|
"logs":routes.log_paths()
|
|
}
|
|
|
|
json.dump(data_dump, open("routes.json", "w"))
|