This commit is contained in:
iou1name 2019-10-09 22:15:46 -04:00
parent ba9ea87aaa
commit f088ca1424

View File

@ -31,7 +31,7 @@ async def index(request):
return render_template("index.html", request, locals()) return render_template("index.html", request, locals())
data = await request.post() data = await request.post()
rand_name = bool(data.get('rand_name')) rand_name = bool(data.get('rand_name'))
response_type = data.get('reponse_type') response_type = data.get('response_type', 'plain')
files = [] files = []
for filefield in data.getall('files'): for filefield in data.getall('files'):