mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-29 15:31:28 +00:00
Fixed minor logical issues
This commit is contained in:
parent
a8ccab1901
commit
d06e8dc662
4
main.py
4
main.py
|
@ -159,8 +159,8 @@ def createUser():
|
||||||
if line.startswith(" loginAccounts = {"):
|
if line.startswith(" loginAccounts = {"):
|
||||||
print("[DEBUG] Found mailuser configuration snippet match!")
|
print("[DEBUG] Found mailuser configuration snippet match!")
|
||||||
print("[INFO] Writing new user configuration snippet to memory...", sep="")
|
print("[INFO] Writing new user configuration snippet to memory...", sep="")
|
||||||
fileContent.insert(index-1, "\n")
|
fileContent.insert(index, "\n")
|
||||||
fileContent.insert(index, mailUserTemplate)
|
fileContent.insert(index+1, mailUserTemplate)
|
||||||
print("done")
|
print("done")
|
||||||
break
|
break
|
||||||
index += 1
|
index += 1
|
||||||
|
|
Loading…
Reference in a new issue