Replaced relative users file path with absolute

pull/2/head
Illia Chub 2021-06-23 20:45:25 +03:00
parent 2885fe4356
commit db726b82e2
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ def upgradeSystem():
@app.route("/createUser", methods=["POST"])
def createUser():
readOnlyFileDescriptor = open("users.nix", "r")
readOnlyFileDescriptor = open("/etc/nixos/users.nix", "r")
fileContent = list()
index = int(0)