From e1506eca73e7e68d6b3613a8d21bb49bca224788 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 5 Mar 2014 21:08:09 -0300 Subject: [PATCH] why we continue on static? that's why --- luncho/blueprints/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/luncho/blueprints/index.py b/luncho/blueprints/index.py index 6742333..1b28fb4 100644 --- a/luncho/blueprints/index.py +++ b/luncho/blueprints/index.py @@ -19,6 +19,8 @@ def show_routes(): for rule in current_app.url_map.iter_rules(): endpoint = rule.endpoint if endpoint == 'static': + # the server does not have a static path, but Flask automatically + # registers it. so we just ignore it. continue path = str(rule)