1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-22 18:47:23 +01:00

merge upstream changes proposed for 2204

This commit is contained in:
KiekerJan
2022-09-17 16:41:35 +02:00
parent 9327a1df4f
commit 9ee26d3ef1
13 changed files with 44 additions and 38 deletions

View File

@@ -136,9 +136,10 @@ while len(input_lines) > 0:
# Put any settings we didn't see at the end of the file,
# except settings being cleared.
for i in range(len(settings)):
if (i not in found) and not (not val and erase_setting):
if i not in found:
name, val = settings[i].split("=", 1)
buf += name + delimiter + val + "\n"
if not (not val and erase_setting):
buf += name + delimiter + val + "\n"
if not testing:
# Write out the new file.