scriptorron / indi_pylibcamera

INDI libcamera driver made in Python
MIT License
11 stars 5 forks source link

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

Closed cgobat closed 8 months ago

cgobat commented 8 months 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.