@ -29,7 +29,7 @@ password = getpass(f"New password: ")
userdata['password'] = password
# userdata['password_sha1'] = passwd(password)
userdata['password_sha1'] = sha1(password.encode("utf-8"))
userdata['password_sha1'] = sha1(password.encode("utf-8")).hexdigest()
with open("jupyter_notebook_config.temp.py", "w") as f:
print(nbconfig.render(**userdata), file=f)