Skip to content

Commit

Permalink
Handle non-existent config file
Browse files Browse the repository at this point in the history
Signed-off-by: John Strunk <[email protected]>
  • Loading branch information
JohnStrunk committed May 22, 2023
1 parent 012ef6b commit 4c33a53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

#### Fixed

- :bug: Fix UUID handling from ini file
- :bug: Fix crash at startup w/ non-existant config file
- :bug: Enqueue startlists to be processed in main thread to avoid tkinter error

### [1.0.1] - 2023-02-10
Expand Down
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def load(self, filename: str) -> None:
config = ConfigParser()
config.read(filename, encoding="utf-8")
if _INI_HEADING not in config:
return
config.add_section(_INI_HEADING)
data = config[_INI_HEADING]
# Calibri (sans serif) is standard since Vista
# It's also part of USA-S visual identity standards
Expand Down

0 comments on commit 4c33a53

Please sign in to comment.