def POST(self): cgi.maxlen = settings.MAX_UP_FILE_SIZE input = web.input(file={}, _unicode=False) if input.file.file: z3.reset() z3.load() z3.write_serial(0, input.file.file.read()) z3.reset() raise web.seeother("/live") raise web.seeother("/dashboard")
def POST(self): z3.reset() raise web.seeother("/dashboard")