From e8038ee07f1a52ba7853bd861b897026d6774c17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Tue, 25 Oct 2016 10:25:19 +0200 Subject: [PATCH] Fix to sitebuilder script --- sitebuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sitebuilder.py b/sitebuilder.py index b8a7d1b..1c6d6b3 100755 --- a/sitebuilder.py +++ b/sitebuilder.py @@ -84,7 +84,7 @@ if __name__ == "__main__": @app.route("/media/") @app.route("/src/") @app.route("/favicon.ico") - def static_file(path): + def static_file(path=None): return app.send_static_file(request.path[1:]) app.run()