diff options
author | VG <vg@devys.org> | 2014-11-30 12:49:28 +0100 |
---|---|---|
committer | VG <vg@devys.org> | 2014-11-30 12:49:28 +0100 |
commit | 5c502a9a7649f7cc8d6b150258bef8bd506a5521 (patch) | |
tree | 7082acbacd4d584059ba7694588f5eea7b8e5099 | |
parent | 4c0fe94771a54499c23281fcbd295b897821ea4d (diff) | |
download | pasteme-5c502a9a7649f7cc8d6b150258bef8bd506a5521.tar.gz pasteme-5c502a9a7649f7cc8d6b150258bef8bd506a5521.tar.bz2 pasteme-5c502a9a7649f7cc8d6b150258bef8bd506a5521.zip |
fix unused arg in callback functions for /favicon /robots
-rwxr-xr-x | pasteme.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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>') |