1
0
Fork 0

Test signing

This commit is contained in:
Luca Beltrame 2020-02-15 21:49:16 +01:00
parent e3dba9a4b5
commit b6180d2eef
Signed by: einar
GPG key ID: 8DF631FD021DB0C5

View file

@ -99,6 +99,7 @@ def parse_json(json_data: dict, carrier: str = None,
end_station = segment["end_station"].title()
end_date, end_time = _convert_datetimes(segment["end_time"])
# FIXME: Impossible to extract it from the current Hyperdia data
carrier = "" if carrier is None else carrier
train_type = segment["train_name"]