From c7456d95ba062b8620eef766fc86619132e24c78 Mon Sep 17 00:00:00 2001 From: Colin Davis Date: Tue, 30 Aug 2011 18:22:23 -0400 Subject: [PATCH] fix typo. Thanks jayferd --- webfront.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webfront.py b/webfront.py index 58444d1..dd3a210 100755 --- a/webfront.py +++ b/webfront.py @@ -229,7 +229,7 @@ class ImgHandler(tornado.web.RequestHandler): #Change to a usuable format - if string.endswith(('.png','.gif','.jpg','.bmp','.im','.jpeg','.pcx','.ppm','.tiff','.xbm','tif')): + if string.endswith(('.png','.gif','.jpg','.bmp','.im','.jpeg','.pcx','.ppm','.tiff','.xbm','.tif')): ext = string[string.rfind('.') +1 :len(string)] if ext.lower() == 'jpg': ext = 'jpeg'