diff --git a/nxsconfigserver/XMLConfigurator.py b/nxsconfigserver/XMLConfigurator.py index d0409fd..e109dd8 100644 --- a/nxsconfigserver/XMLConfigurator.py +++ b/nxsconfigserver/XMLConfigurator.py @@ -955,9 +955,8 @@ def createConfiguration(self, names): else: reparsed = et.fromstring( cnfMerged, parser=XMLParser(collect_ids=False)) - xmls = "" + \ - _tostr(etree.tostring(reparsed, encoding='unicode', - method='xml', pretty_print=True)) + xmls = _tostr(etree.tostring(reparsed, encoding='unicode', + method='xml', pretty_print=True)) if xmls.startswith("