X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/1f0393876d891d0e32a995d0bf7259cc6505afdc..d0ca6a32a9eded6e2fbc7dc1fe2f70b503dde8dc:/tools/config/save.py diff --git a/tools/config/save.py b/tools/config/save.py index 67e25ea..43c7822 100644 --- a/tools/config/save.py +++ b/tools/config/save.py @@ -10,10 +10,3 @@ def save(args, cfg): os.makedirs(os.path.dirname(args.config), 0o700, True) with open(args.config, "w") as handle: cfg.write(handle) - -def save_session(cfg): - config_path = tools.config.session_defaults["config_path"] - logging.debug("Save session config: " + config_path) - os.makedirs(os.path.dirname(config_path), 0o700, True) - with open(config_path, "w") as handle: - cfg.write(handle)