Skip to content

Commit

Permalink
Fixes #168 buildcache failing on adding new stations
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Smith committed Feb 10, 2015
1 parent 4eadc4c commit 9a8988d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@
\bH\sUNZIKER |
\bL[O0D]FTH\sUS |
\bHORNUCH\b |
\bKLU\sDZE
\bKLU\sDZE |
^[DR]HN\b
)''', flags=re.X)


Expand Down Expand Up @@ -581,7 +582,7 @@ def changeStation(matches):
return
raise MultipleStationEntriesError(
priceFile, lineNo, facility,
processedStations[stationID]
processedStations[newID]
)

stationID = newID
Expand Down

0 comments on commit 9a8988d

Please sign in to comment.