server: fix type in train type code
This commit is contained in:
parent
7ac9fb84a5
commit
3c4a0fc9c8
|
@ -43,7 +43,7 @@ proc parseLine*(common: CommonData, i: int): Option[Line] =
|
||||||
|
|
||||||
# DB
|
# 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:
|
if trainTypes.contains(res.tripNum) and trainTypes[res.tripNum] != res.productName:
|
||||||
res.trainType = some(trainTypes[res.tripNum])
|
res.trainType = some(trainTypes[res.tripNum])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue