]>
glassweightruler.freedombox.rocks Git - waydroid.git/blob - tools/config/save.py
43c78229c60e3ce9f4ba0febf3f7cff13e9e4478
1 # Copyright 2021 Oliver Smith
2 # SPDX-License-Identifier: GPL-3.0-or-later
9 logging
.debug("Save config: " + args
.config
)
10 os
.makedirs(os
.path
.dirname(args
.config
), 0o700, True)
11 with open(args
.config
, "w") as handle
: