From: Tara L Andrews Date: Tue, 6 May 2014 15:30:03 +0000 (+0000) Subject: fix Stemweb reporting bug X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2Fstemmaweb.git;a=commitdiff_plain;h=39283bfbf63a29df210f3de33a6dcdb01d70e397 fix Stemweb reporting bug --- diff --git a/lib/stemmaweb/Controller/Stemweb.pm b/lib/stemmaweb/Controller/Stemweb.pm index 3dc4ede..a9e7755 100644 --- a/lib/stemmaweb/Controller/Stemweb.pm +++ b/lib/stemmaweb/Controller/Stemweb.pm @@ -184,7 +184,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,