Flask Error, in Python script does not work

Solution

username = request.form["uname"]