aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2014-11-30 12:49:28 +0100
committerVG <vg@devys.org>2014-11-30 12:49:28 +0100
commit5c502a9a7649f7cc8d6b150258bef8bd506a5521 (patch)
tree7082acbacd4d584059ba7694588f5eea7b8e5099
parent4c0fe94771a54499c23281fcbd295b897821ea4d (diff)
downloadpasteme-5c502a9a7649f7cc8d6b150258bef8bd506a5521.tar.gz
pasteme-5c502a9a7649f7cc8d6b150258bef8bd506a5521.tar.bz2
pasteme-5c502a9a7649f7cc8d6b150258bef8bd506a5521.zip
fix unused arg in callback functions for /favicon /robots
-rwxr-xr-xpasteme.py4
1 files 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('/<pid>')