mirror of
https://github.com/RoboSats/Robohash.git
synced 2025-07-19 09:13:35 +00:00
oops
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user