diff --git a/src/registry.py b/src/registry.py index 849dc53bb..d14134088 100644 --- a/src/registry.py +++ b/src/registry.py @@ -86,8 +86,8 @@ def close(registry, filename, annotated=True, helpOnceOnly=False): else: lines.insert(0, '\n') if hasattr(value, 'value'): - lines.append('#\n') if value.showDefault: + lines.append('#\n') try: original = value.value value.value = value.default