projects
/
scpubgit/stemmaweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
95071bd
)
still running is 1, not -1!!
Tara L Andrews [Thu, 6 Nov 2014 10:45:27 +0000 (10:45 +0000)]
lib/stemmaweb/Controller/Stemweb.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/stemmaweb/Controller/Stemweb.pm
b/lib/stemmaweb/Controller/Stemweb.pm
index
ad90815
..
7d83eb3
100644
(file)
--- a/
lib/stemmaweb/Controller/Stemweb.pm
+++ b/
lib/stemmaweb/Controller/Stemweb.pm
@@
-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,