From fbd6db859f732fe0c118711cebf0a3cddc570b51 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Sat, 3 Oct 2009 20:44:19 +0000 Subject: [PATCH] fix bug in the tracker icons resource --- deluge/ui/web/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index 516dd8ddc..a9d84d237 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -210,7 +210,7 @@ class Tracker(resource.Resource): "public, must-revalidate, max-age=86400") if filename.endswith(".ico"): request.setHeader("content-type", "image/x-icon") - elif filename.endwith(".png"): + elif filename.endswith(".png"): request.setHeader("content-type", "image/png") data = open(filename, "rb") request.setResponseCode(http.OK)