From a2d08bca26086c402c2249bf755f84abda8c83f6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 6 Oct 2019 11:02:29 +0200 Subject: derp --- lib/Travelynx.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index d940063..931745e 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2527,7 +2527,7 @@ sub startup { # each stop to be the same -> ensure that it is not converted # to DateTime twice. if ( $times->{sched_arr} - and ref( $times->{sched_arr} ) != 'DateTime' ) + and ref( $times->{sched_arr} ) ne 'DateTime' ) { $times->{sched_arr} = epoch_to_dt( $times->{sched_arr} ); @@ -2542,7 +2542,7 @@ sub startup { = $times->{rt_arr}->epoch - $epoch; } if ( $times->{sched_dep} - and ref( $times->{sched_dep} ) != 'DateTime' ) + and ref( $times->{sched_dep} ) ne 'DateTime' ) { $times->{sched_dep} = epoch_to_dt( $times->{sched_dep} ); -- cgit v1.2.3