From 0797cca29fbf75ecbd3a3a7faa7d24347ba854d5 Mon Sep 17 00:00:00 2001 From: Stefal Date: Wed, 12 Jun 2024 22:12:59 +0200 Subject: [PATCH] After resetting settings, user and some path were missing. Should fix #397 --- web_app/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web_app/server.py b/web_app/server.py index 5979529..f775bba 100755 --- a/web_app/server.py +++ b/web_app/server.py @@ -658,7 +658,9 @@ def configure_receiver(brand="", model=""): def reset_settings(): switchService({"name":"main", "active":False}) rtkbaseconfig.merge_default_and_user(os.path.join(rtkbase_path, "settings.conf.default"), os.path.join(rtkbase_path, "settings.conf.default")) + rtkbaseconfig.expand_path() rtkbaseconfig.write_file() + update_std_user(services_list) socketio.emit("settings_reset", namespace="/test") @app.route("/logs/download/settings")