def view(): q = Queue() return render_template('queue_view.html', workleft=q.work_left(), work=q.work_list())