From: Tara L Andrews Date: Thu, 6 Nov 2014 10:45:27 +0000 (+0000) Subject: still running is 1, not -1!! X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=69d4ecfec67128cb7bcfcd31156995179f401178;p=scpubgit%2Fstemmaweb.git still running is 1, not -1!! --- diff --git a/lib/stemmaweb/Controller/Stemweb.pm b/lib/stemmaweb/Controller/Stemweb.pm index ad90815..7d83eb3 100644 --- a/lib/stemmaweb/Controller/Stemweb.pm +++ b/lib/stemmaweb/Controller/Stemweb.pm @@ -214,7 +214,7 @@ sub _process_stemweb_result { } $c->stash->{'result'} = { status => 'notfound' }; } - } elsif( $answer->{status} == -1 ) { + } elsif( $answer->{status} == 1 ) { $c->stash->{'result'} = { 'status' => 'running' }; } else { return _json_error( $c, 500,