Author: damoxc

Revision: 5803

Log:
        fix bug in the tracker icons resource

Diff:
Modified: trunk/deluge/ui/web/server.py
===================================================================
--- trunk/deluge/ui/web/server.py       2009-10-03 00:15:43 UTC (rev 5802)
+++ trunk/deluge/ui/web/server.py       2009-10-03 20:44:19 UTC (rev 5803)
@@ -210,7 +210,7 @@
                               "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)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to