commit 3c4a0fc9c8e833aa956c287f0ba3aba887edcf4f
parent 7ac9fb84a5524abadeabd54dbec58556e82d0718
Author: Milan Pässler <milan@petabyte.dev>
Date: Fri, 11 Sep 2020 19:47:00 +0200
parent 7ac9fb84a5524abadeabd54dbec58556e82d0718
Author: Milan Pässler <milan@petabyte.dev>
Date: Fri, 11 Sep 2020 19:47:00 +0200
server: fix type in train type code
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/hafas/parse/line.nim b/src/backend/hafas/parse/line.nim @@ -43,7 +43,7 @@ proc parseLine*(common: CommonData, i: int): Option[Line] = # DB - if res.productName == "IC" or res.productName == "ICE" or res.productName == "EE" or res.productName == "ECE": + if res.productName == "IC" or res.productName == "ICE" or res.productName == "EC" or res.productName == "ECE": if trainTypes.contains(res.tripNum) and trainTypes[res.tripNum] != res.productName: res.trainType = some(trainTypes[res.tripNum])