mirror of
https://github.com/RoboSats/Robohash.git
synced 2025-07-21 02:03:16 +00:00
fix typo. Thanks jayferd
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user