mirror of
https://github.com/e1ven/Robohash.git
synced 2025-06-23 21:35:02 +00:00
Emergency fix because I'm stupid
This commit is contained in:
parent
427c3fa257
commit
4e872a8d7c
@ -234,8 +234,8 @@ class ImgHandler(tornado.web.RequestHandler):
|
||||
# IF, and Only IF, there is an arg in the list, should we interpret slashes as params
|
||||
split = string.split('/')
|
||||
if len(split) > 1:
|
||||
for str in split:
|
||||
b = str.encode('ascii','ignore').split('_')
|
||||
for st in split:
|
||||
b = st.encode('ascii','ignore').split('_')
|
||||
if len(b) == 2:
|
||||
if b[0] in ['gravatar','ignoreext','size','set','bgset']:
|
||||
args[b[0]] = b[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user