Commits

James Taylor  committed 8b27019

Small fix

  • Participants
  • Parent commits f12dd72

Comments (0)

Files changed (1)

File workflow-speed

              trans.response.send_redirect( url_for( controller='tool_runner', action='redirect', redirect_url=redirect_url ) )
          else:
              # Queue the job for execution
--            trans.app.job_queue.put( job.id, tool )
+             trans.app.job_queue.put( job.id, tool )
 -            trans.log_event( "Added job to the job queue, id: %s" % str(job.id), tool_id=job.tool_id )
-+            ## trans.app.job_queue.put( job.id, tool )
 +            ## trans.log_event( "Added job to the job queue, id: %s" % str(job.id), tool_id=job.tool_id )
 +            if flush:
 +                trans.sa_session.flush()