scriptorron / indi_pylibcamera

INDI libcamera driver made in Python
MIT License
13 stars 4 forks source link

Use `lxml` for construction of indi_pylibcamera.xml #51

Closed cgobat closed 1 year ago

cgobat commented 1 year ago

Just a minor update to use the lxml module (since it is already a dependency anyway) to construct the XML content of the indi_pylibcamera.xml file, rather than a naïve string. I think this provides a slight improvement in terms of extensibility/flexbility, and also makes things less prone to errors if updates need to be made down the line.

I tested this one already and the XML files produced before/after this update are identical.