diff --git a/CHANGELOG b/CHANGELOG index 3dc7731..ab5768c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ 2.0.0b7 - fix: disable close buttons of MDI subwindows on macOS (#29) - fix: allow Shift+click on plot matrix element + - fix: support temperature key (dclab 0.19.1.post2) 2.0.0b6 - ref: move custom widgets to separate submodule (#24) - fix: bad alignment when selecting "Plot" in QuickView (#31) diff --git a/shapeout2/gui/analysis/ana_meta.py b/shapeout2/gui/analysis/ana_meta.py index c2c034d..b0fb8d8 100644 --- a/shapeout2/gui/analysis/ana_meta.py +++ b/shapeout2/gui/analysis/ana_meta.py @@ -105,7 +105,7 @@ def format_config_key_value(section, key, value): if dckey == key: break else: - raise ValueError("Unknwon key: [{}]: {}".format(section, key)) + raise KeyError("Unknwon key [{}]: {}".format(section, key)) tip = "" # Value formatting if dctype == float: # pretty-print floats