picasso icon indicating copy to clipboard operation
picasso copied to clipboard

Split `select_files` route

Open rhsimplex opened this issue 7 years ago • 0 comments

https://github.com/merantix/picasso/blob/master/picasso/picasso.py#L298

Select files is actually file selection AND result display. This should be split up not only for conceptual simplicity, but also because we'll want to do cleanup after the rendering (since both GET and POST work at this route but represent different functionality, we can't simplay apply an @after_request decorator e.g. http://flask.pocoo.org/snippets/53/).

rhsimplex avatar Jun 26 '17 09:06 rhsimplex