mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-16 07:33:16 +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 = {"):
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue