X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2Fstemmaweb.git;a=blobdiff_plain;f=lib%2Fstemmaweb%2FController%2FStemweb.pm;h=a9e77556c0ad41914516a1ec7b243d2d5241e6ef;hp=3dc4edec75d76f5e31fc2ba77ac67cd82515e675;hb=39283bfbf63a29df210f3de33a6dcdb01d70e397;hpb=cc8e6e62ad778a70e6f571019b709326e252ac89 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,