summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-01-04 14:27:33 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-01-04 14:27:33 +0100
commitd96a57754995aa269941deb0f56cc558d18fd45c (patch)
treebf91517bd83bd2357372d5dc1fcf4c0af6e118cf /bin
parent4698b575fec73f19c792e28d8c64461a649f5bbe (diff)
dbris-m: Use cache for station lookups, if set
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dbris-m1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/dbris-m b/bin/dbris-m
index c9ae6ba..156b8a7 100755
--- a/bin/dbris-m
+++ b/bin/dbris-m
@@ -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,
);