Fixed tree view with multi line labels
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm
index d1d0049..aea95f5 100644
--- a/lib/Kalamar.pm
+++ b/lib/Kalamar.pm
@@ -23,6 +23,9 @@
$self->secrets([
b($secret)->slurp->split("\n")
]);
+ }
+ else {
+ $self->log->warn('Please create a kalamar.secret file');
};
# Load plugins
diff --git a/lib/Kalamar/API.pm b/lib/Kalamar/API.pm
index 9b8a529..fb06a7e 100644
--- a/lib/Kalamar/API.pm
+++ b/lib/Kalamar/API.pm
@@ -455,7 +455,7 @@
# Legacy: In old versions the text_id was part of the doc_id
unless ($x->{textID}) {
- ($x->{docID}, $x->{textID}) = split '.', $x->{docID};
+ ($x->{docID}, $x->{textID}) = split '\.', $x->{docID};
};
$x;
};