From: Tara L Andrews Date: Mon, 20 Jan 2014 07:26:38 +0000 (+0100) Subject: small fix to Stemweb query result logic X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3d99ec75465cfffe313885c29a2b2162e56640bf;p=scpubgit%2Fstemmaweb.git small fix to Stemweb query result logic --- diff --git a/lib/stemmaweb/Controller/Stemweb.pm b/lib/stemmaweb/Controller/Stemweb.pm index c7f2072..3dc4ede 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,