get_connecting_trains_p: we're doing boolean arithmetic here
(fixes 'useless use of numeric lt in void context' warning)
This commit is contained in:
parent
2f2624a80a
commit
dd151dc686
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ sub get_connecting_trains_p {
|
|||
return $promise->reject;
|
||||
}
|
||||
|
||||
my $can_check_in = not $arr_epoch or ( $arr_countdown // 1 ) < 0;
|
||||
my $can_check_in = not $arr_epoch || ( $arr_countdown // 1 ) < 0;
|
||||
|
||||
$self->iris->get_departures_p(
|
||||
station => $eva,
|
||||
|
|
Loading…
Reference in a new issue