Unverified Commit d96a5775 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

dbris-m: Use cache for station lookups, if set

parent 4698b575
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,7 @@ elsif ( $opt{station} =~ m{[|]} ) {
}
elsif ( $opt{station} !~ m{ ^ \d+ $ }x ) {
	my $status = Travel::Status::DE::DBRIS->new(
		cache          => $cache,
		locationSearch => $opt{station},
		developer_mode => $developer_mode,
	);