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'