diff --git a/cup/util/conf.py b/cup/util/conf.py index 8bb21f2..8094142 100644 --- a/cup/util/conf.py +++ b/cup/util/conf.py @@ -1121,9 +1121,9 @@ def _write_to_conf(self, new_confdict): if valuenode.firstChild is None: if tmpdict[name]['value'] is not None: valuenode.appendChild(dom.createTextNode('')) - valuenode.firstChild.replaceWholeText( - tmpdict[name]['value'] - ) + valuenode.firstChild.replaceWholeText( + tmpdict[name]['value'] + ) del tmpdict[name] else: parent = pro.parentNode