hifiberry / hifiberry-dsp

DSP toolkit
MIT License
138 stars 36 forks source link

Fix for xmltodict v0.13. Fixes #53 #54

Closed ssalonen closed 1 year ago

ssalonen commented 1 year ago

xmltodict v0.13 started using dict (instead of previous default OrderedDict) when parsing xml with python >= 3.7. See https://github.com/martinblech/xmltodict/commit/231b4d4ef4e804ca0311182e8ec8874af98a1bb7

This restores the previous behaviour, using OrderedDict, making the behaviour compatible with dsptoolkit. The change should be backwards compatible with older versions of xmltodict, as dict_constructor parameter has been there for quite some time.