summaryrefslogtreecommitdiff
path: root/bin/db-fakedisplay
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-fakedisplay')
-rwxr-xr-xbin/db-fakedisplay5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/db-fakedisplay b/bin/db-fakedisplay
index f9ce899..32e342c 100755
--- a/bin/db-fakedisplay
+++ b/bin/db-fakedisplay
@@ -33,7 +33,10 @@ if ( $mode eq 'single' and not $template_file ) {
( $station, @platforms ) = @ARGV;
$template_file //= dist_file( 'db-fakedisplay', 'multi-lcd.html' );
-$template = HTML::Template->new( filename => $template_file );
+$template = HTML::Template->new(
+ filename => $template_file,
+ loop_context_vars => 1
+);
if ( not defined $station ) {
show_help(1);