projects
/
scpubgit/stemmaweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
31d98e4
)
small fix to Stemweb query result logic
Tara L Andrews [Mon, 20 Jan 2014 07:26:38 +0000 (08:26 +0100)]
lib/stemmaweb/Controller/Stemweb.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/stemmaweb/Controller/Stemweb.pm
b/lib/stemmaweb/Controller/Stemweb.pm
index
c7f2072
..
3dc4ede
100644
(file)
--- 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,