Skip to content

Commit

Permalink
Emergency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
morosanmihail committed May 31, 2024
1 parent 6e10c2b commit bfd4651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/london_tfl/tfl_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


def get_destination(entry):
if 'towards' in entry:
if 'towards' in entry and len(entry['towards']) > 0:
return entry['towards']
if 'destinationName' in entry:
return entry['destinationName']
Expand Down

0 comments on commit bfd4651

Please sign in to comment.