Merge branch 'master' of github.com:tla/stemmaweb
[scpubgit/stemmaweb.git] / lib / stemmaweb / Controller / Stemweb.pm
index c37b600..c808d9d 100644 (file)
@@ -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,