Skip to content

Commit

Permalink
After resetting settings, user and some path were missing.
Browse files Browse the repository at this point in the history
Should fix #397
  • Loading branch information
Stefal committed Jun 12, 2024
1 parent b0678a0 commit 0797cca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web_app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0797cca

Please sign in to comment.