summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/DBInfoscreen.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index 7730f90..53944fd 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -94,7 +94,7 @@ sub startup {
if ( -r 'share/zugbildungsplan.json' ) {
my $ice_type_map = JSON->new->utf8->decode(
scalar read_file('share/zugbildungsplan.json') );
- my $ret;
+ my $ret = {};
while ( my ( $k, $v ) = each %{ $ice_type_map->{train} } ) {
if ( $v->{type} ) {
$ret->{$k} = [