diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-06-01 12:06:22 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-06-01 12:06:22 +0200 |
commit | 5f80c151c178fcf09331618ac4ee8ef8e050d007 (patch) | |
tree | b2d8655e8568ba71e153ececc6270c156ae70ac2 | |
parent | d701442306ebdac5d7d6a865003a1a8a1f6ac334 (diff) |
run update hook after setting arrival time
-rwxr-xr-x | lib/Travelynx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 7b87b99..e4dc5b4 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -568,7 +568,6 @@ sub startup { } if ( not( defined $train or $force ) ) { - $self->run_hook( $uid, 'update' ); # Arrival time via IRIS is unknown, try falling back to HAFAS if ( my $station_data @@ -594,6 +593,7 @@ sub startup { ); } } + $self->run_hook( $uid, 'update' ); return ( 1, undef ); } |