seveas / python-hpilo

Accessing the HP iLO XML interface from python
https://seveas.github.io/python-hpilo
Other
321 stars 102 forks source link

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

Open Antalis opened 3 years ago

Antalis commented 3 years ago

Hi,

Same problem as indicated in issue n°#210 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.