diff options
author | Vikraman Choudhury <vikraman.choudhury@gmail.com> | 2011-05-12 04:20:29 +0530 |
---|---|---|
committer | Vikraman Choudhury <vikraman.choudhury@gmail.com> | 2011-05-12 04:20:29 +0530 |
commit | 7f427fb2c0b03fbf5c78bd9fb9fd3a7d41ce3543 (patch) | |
tree | 43897446d122e28c7293d617909fd7246ee8f6b3 | |
parent | fix duplicate tuples in packages (diff) | |
download | gentoostats-7f427fb2c0b03fbf5c78bd9fb9fd3a7d41ce3543.tar.gz gentoostats-7f427fb2c0b03fbf5c78bd9fb9fd3a7d41ce3543.tar.bz2 gentoostats-7f427fb2c0b03fbf5c78bd9fb9fd3a7d41ce3543.zip |
handle favicon with a 404 error
-rwxr-xr-x | server/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/main.py b/server/main.py index 92e24ce..dbfd3ad 100755 --- a/server/main.py +++ b/server/main.py @@ -25,6 +25,8 @@ class index: class stats: def GET(self, uuid): + if uuid == 'favicon.ico': + return notfound() hosts = db.select('hosts', vars=locals(), where="uuid=$uuid") env = db.select('env', vars=locals(), where="uuid=$uuid") return render.stats(uuid, hosts, env) |