Skip to content

Commit

Permalink
save default settings before opening file for users
Browse files Browse the repository at this point in the history
  • Loading branch information
qwint committed Oct 9, 2024
1 parent 6287bc2 commit ef92339
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@


def open_host_yaml():
file = settings.get_settings().filename
s = settings.get_settings()
file = s.filename
s.save()
assert file, "host.yaml missing"
if is_linux:
exe = which('sensible-editor') or which('gedit') or \
Expand Down

0 comments on commit ef92339

Please sign in to comment.