From ea1b5957c0753d6c2207d628f9e7eb802f9fd013 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 17 Feb 2016 08:46:30 +0100 Subject: [PATCH] Remove unused argument. --- accountant/frontend/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/accountant/frontend/__init__.py b/accountant/frontend/__init__.py index 2b6022f..366b5a4 100644 --- a/accountant/frontend/__init__.py +++ b/accountant/frontend/__init__.py @@ -23,7 +23,6 @@ assets.register('frontend_js', frontend_js) assets.register('frontend_css', frontend_css) -@blueprint.route('/', defaults={'path': 'accounts'}) -@blueprint.route('/') -def index(path): +@blueprint.route('/') +def index(): return blueprint.send_static_file('index.html')