mirror of
https://github.com/RoboSats/Robohash.git
synced 2025-07-19 01:03:29 +00:00
remove tag
This commit is contained in:
@ -380,7 +380,7 @@ class ImgHandler(tornado.web.RequestHandler):
|
||||
robohash.save(fakefile,format='jpeg')
|
||||
fakefile.seek(0)
|
||||
data_uri = fakefile.read().encode("base64").replace("\n", "")
|
||||
self.write('<img alt="sample" src="data:image/png;base64,{0}">'.format(data_uri))
|
||||
self.write("data:image/jpeg;base64," + data_uri)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user