ltworf / vasttrafik-cli

Migrated to codeberg
https://codeberg.org/ltworf/vasttrafik-cli/
GNU General Public License v3.0
8 stars 1 forks source link

Can't go to scandinavium #7

Closed ltworf closed 6 years ago

ltworf commented 9 years ago
Traceback (most recent call last):
  File "/home/salvo/bin/trip", line 91, in <module>
    main()
  File "/home/salvo/bin/trip", line 79, in main
    dest = get_stop('TO: > ')
  File "/home/salvo/bin/trip", line 46, in get_stop
    stops = vast.location(line)
  File "/home/salvo/dev/pysttrafik/pysttrafik.py", line 140, in location
    return [Stop(i) for i in c]
  File "/home/salvo/dev/pysttrafik/pysttrafik.py", line 577, in __init__
    self.id = d['id']
TypeError: string indices must be integers

This happens every time scandinavium is selected as destination.

ltworf commented 6 years ago

Well it no longer happens…