Fixed minor logical issues

This commit is contained in:
Illia Chub 2021-10-07 19:36:01 +03:00
parent d06e8dc662
commit ea16f656ee

View file

@ -159,8 +159,7 @@ 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, "\n")
fileContent.insert(index+1, mailUserTemplate)
fileContent.insert(index+5, mailUserTemplate)
print("done")
break
index += 1