It seemed to be working but when I just re-created it again it wasn't. But now that I think about it, I'm not sure it should without a proper refresh or some more help from JavaScript.
if form.process().accepted: session.flash = 'image saved' redirect(URL('imagetest', args=request.args(0)))