Removed sensitive data from logs

pull/2/head
Illia Chub 2021-07-02 18:45:57 +03:00
parent 1071bc459b
commit 17c3e6f9e3
1 changed files with 2 additions and 2 deletions

View File

@ -98,11 +98,11 @@ def createUser():
print("[TRACE] {0}".format(userTemplate))
for line in fileContent:
index -= 1
index += 1
if line.startswith(" #begin"):
print("[DEBUG] Found user configuration snippet match!")
print("[INFO] Writing new user configuration snippet to memory...", sep="")
fileContent.insert(index, userTemplate)
fileContent.insert(index-1, userTemplate)
print("done")
print("[INFO] Writing data from memory to file...", sep="")