This commit is contained in:
Colin Davis 2012-07-27 13:26:14 -04:00
parent 577ea6abac
commit 1f15bbd817

View File

@ -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)