floweaver icon indicating copy to clipboard operation
floweaver copied to clipboard

palette silently uses dict values if key does not match

Open ricklupton opened this issue 1 year ago • 0 comments

palette = {
   "a": "red",
   "b": "blue",
}

If there is a key "c", it will treat palette like a list of values and use "red", but it should give an error

ricklupton avatar Sep 09 '24 08:09 ricklupton