From 5c502a9a7649f7cc8d6b150258bef8bd506a5521 Mon Sep 17 00:00:00 2001 From: VG Date: Sun, 30 Nov 2014 12:49:28 +0100 Subject: fix unused arg in callback functions for /favicon /robots --- pasteme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pasteme.py b/pasteme.py index 57fb1f0..c925291 100755 --- a/pasteme.py +++ b/pasteme.py @@ -33,11 +33,11 @@ def route_static(path): return bottle.static_file(path, root='static') @bottle.route('/favicon.ico') -def route_favicon(path): +def route_favicon(): return bottle.static_file('favicon.ico', root='static') @bottle.route('/robots.txt') -def route_favicon(path): +def route_favicon(): return bottle.static_file('robots.txt', root='static') @bottle.route('/') -- cgit v1.2.3