Skip to content

Commit

Permalink
Fix function call
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwutingfeng committed Dec 21, 2023
1 parent bac4c5e commit a138a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train_arrival.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_all_station_names():
station_name = station_info[
"name"
] # Use station name to get its arrival timings
if _is_str_or_unicode and station_name:
if _is_str_or_unicode(station_name) and station_name:
station_names.add(station_name)
return sorted(station_names)

Expand Down

0 comments on commit a138a7f

Please sign in to comment.