From 16900fc533049212313070bf40a78b3b8e885174 Mon Sep 17 00:00:00 2001 From: Robohash <401330+e1ven@users.noreply.github.com> Date: Fri, 27 Jul 2012 13:26:14 -0400 Subject: [PATCH] oops --- webfront.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webfront.py b/webfront.py index 45c8cc9..1d6eade 100755 --- a/webfront.py +++ b/webfront.py @@ -241,7 +241,7 @@ class ImgHandler(tornado.web.RequestHandler): if client_ignoreext != "false": - if string.endswith(('.png','.gif','.jpg','.bmp','.jpeg','.ppm')): + if string.endswith(('.png','.gif','.jpg','.bmp','.jpeg','.ppm','.datauri')): string = string[0:string.rfind('.')] r = Robohash(string)