mirror of
https://github.com/e1ven/Robohash.git
synced 2025-06-23 21:35:02 +00:00
oops
This commit is contained in:
parent
896afd02b8
commit
16900fc533
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user