summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-12-29 23:06:39 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-12-29 23:06:39 +0100
commit6fde0135851e939fe8de720101045e324e6db079 (patch)
tree3718a7dc702b48e1c455680c658fcce5851eebda /lib
parente2bfe765285ed8dedd6e327eb311d179cbf5d038 (diff)
Strip newline from version string
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 81e695a..9389fbd 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -68,6 +68,8 @@ sub startup {
$self->secrets( $self->config->{secrets} );
}
+ chomp $self->app->config->{version};
+
$self->plugin(
authentication => {
autoload_user => 1,