Skip to content

Commit

Permalink
Merge pull request #109 from RichRick1/main
Browse files Browse the repository at this point in the history
fix tomlib to toml
  • Loading branch information
RichRick1 authored Apr 30, 2024
2 parents 87b26c1 + 7689bd3 commit 1e18b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moha/gui/moha_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def make_save_quit_buttons(frame):
if __name__ == '__main__':
required_default_paramfile = Path(__file__).parent.\
parent/"toml_tools"/"defaults.toml"
state_data = tomllib.load(open(required_default_paramfile, "rb"))
state_data = toml.load(required_default_paramfile)

root = tk.Tk()
root.title("ModelHamiltonian GUI")
Expand Down

0 comments on commit 1e18b5d

Please sign in to comment.