@blueprint.route("/join", methods=["POST"])
@api_wrapper
@require_login
def team_join_hook():
	if request.form.get("join_code") is None or 1 < len(request.form.get("join_code")):
		raise WebException("Please provide a join code.")
	join_code = request.form.get("join_code")
	message = api.team.join(join_code)
	return { "success": 1, "message": message }
dataset/ETHPy150Open EasyCTF/easyctf-2015/api/api/routes/team.py/team_join_hook/swapped operands of `<`