summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/IRIS.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-01-10 21:56:26 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-01-10 21:56:26 +0100
commit57c364c44bc177569ded124c4b710f052942e943 (patch)
treeba43997f1332a57c8524079d79555a5b59c17561 /lib/Travel/Status/DE/IRIS.pm
parenta7491a345f71b7805d2141424e505408e46e1297 (diff)
db-iris: Add -c / --class option, rename -m/--mot to -T/--type
Diffstat (limited to 'lib/Travel/Status/DE/IRIS.pm')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm
index 203c9bf..81c6797 100644
--- a/lib/Travel/Status/DE/IRIS.pm
+++ b/lib/Travel/Status/DE/IRIS.pm
@@ -88,7 +88,7 @@ sub add_result {
my %data = (
raw_id => $id,
- class => $e_tl->getAttribute('f'), # D N S F
+ classes => $e_tl->getAttribute('f'), # D N S F
unknown_t => $e_tl->getAttribute('t'), # p
train_no => $e_tl->getAttribute('n'), # dep number
type => $e_tl->getAttribute('c'), # S/ICE/ERB/...