run update hook after setting arrival time
This commit is contained in:
parent
d701442306
commit
5f80c151c1
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue