From 2c6bb6480ad2f03e8cfe74cbebec0662bd9e7d4f Mon Sep 17 00:00:00 2001 From: Zhiwei Liang Date: Mon, 3 Apr 2023 02:14:57 -0400 Subject: [PATCH] Fix --- sanic/blueprints.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sanic/blueprints.py b/sanic/blueprints.py index 078b475f..2976f906 100644 --- a/sanic/blueprints.py +++ b/sanic/blueprints.py @@ -364,7 +364,6 @@ class Blueprint(BaseSanic): route = app._apply_route( apply_route, overwrite=self.allow_route_overwrite ) - route = app._apply_route(apply_route) # If it is a copied BP, then make sure all of the names of routes # matchup with the new BP name