We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49fc60b commit fca95f1Copy full SHA for fca95f1
1 file changed
deadWeb/dead.py
@@ -80,14 +80,14 @@ def drop():
80
key = handler.drop(request.form["data"])
81
return jsonify(id=key)
82
83
-@app.route("/pickup/<id>")
+@app.route("/pickup/<drop_id>")
84
def pickup_drop_index(drop_id):
85
"""Load the pickup HTML"""
86
return render_template('index.htm', id=drop_id)
87
88
89
-@app.route("/getdrop.php?id=<id>")
90
-@app.route("/drop/<id>")
+@app.route("/getdrop.php?id=<drop_id>")
+@app.route("/drop/<drop_id>")
91
def pickup_drop_json(drop_id):
92
"""Actually get the drop from the DB"""
93
return_data = handler.pickup(drop_id)
0 commit comments