Closed axelKeizoStahl closed 2 months ago
The current code could try to subscript on None, which would cause NoneType object is not subscriptable error. The fix was to change the default from None to an empty dict, then use get with default values to stop errors.
None
NoneType object is not subscriptable
get
The current code could try to subscript on
None
, which would causeNoneType object is not subscriptable
error. The fix was to change the default fromNone
to an empty dict, then useget
with default values to stop errors.