()
| 33 | |
| 34 | @app.route("/enhance", methods=["GET", "POST"]) |
| 35 | def do_enhance(): |
| 36 | if request.method == "POST": |
| 37 | the_file = request.files["the_file"] |
| 38 | amount = request.form["amount"] |
| 39 | import enhance # Dynamic import |
| 40 | |
| 41 | return enhance.do_enhance(the_file, amount) |
| 42 | else: |
| 43 | return render_template("enhance.html") |
nothing calls this directly
no outgoing calls
no test coverage detected