python-hpilo icon indicating copy to clipboard operation
python-hpilo copied to clipboard

iLO2 : XML or text declaration not at start of entity: line 2, column 0

Open Antalis opened this issue 7 years ago • 0 comments

Hi,

Same problem as indicated at the end of issue n°#95 (Jan 2016) for iLO2 , can you modifiy, in hpilo.py :

- return self._element_children_to_dict(etree.fromstring(data))
+ return self._element_children_to_dict(etree.fromstring(data.lstrip()))

Thx.

Antalis avatar Jan 23 '19 09:01 Antalis