Fixed minor logical issues

This commit is contained in:
Illia Chub 2021-10-07 19:24:08 +03:00
parent a8ccab1901
commit d06e8dc662

View file

@ -159,8 +159,8 @@ def createUser():
if line.startswith(" loginAccounts = {"):
print("[DEBUG] Found mailuser configuration snippet match!")
print("[INFO] Writing new user configuration snippet to memory...", sep="")
fileContent.insert(index-1, "\n")
fileContent.insert(index, mailUserTemplate)
fileContent.insert(index, "\n")
fileContent.insert(index+1, mailUserTemplate)
print("done")
break
index += 1