Closed tfoote closed 7 years ago
Fixes #152
The empty yaml was coming through as a list not a dict so was breaking the expectations.
I used the shorthand or {} since I know any valid data won't evaluate to zero. A more complete solution is described here: https://stackoverflow.com/a/35777649/604099
or {}
Fixes #152
The empty yaml was coming through as a list not a dict so was breaking the expectations.
I used the shorthand
or {}
since I know any valid data won't evaluate to zero. A more complete solution is described here: https://stackoverflow.com/a/35777649/604099