Skip to content

Commit

Permalink
Only try system-specific corrections for station names
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Smith committed Dec 5, 2014
1 parent 6fb8f08 commit 87ca598
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions corrections.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ def correctSystem(oldName):
def correctStation(systemName, oldName):
try:
return stations[systemName.upper() + "/" + oldName.upper()]
except KeyError:
pass
try:
return stations[oldName.upper()]
except KeyError:
return oldName

Expand Down

0 comments on commit 87ca598

Please sign in to comment.