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