Skip to content

Commit

Permalink
Ignore fake stations we're supposed to be ignoring
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Aug 25, 2014
1 parent b2b3972 commit 3550c06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dbimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def main():
stmt = "INSERT INTO Station (name, system_id, ls_from_star) VALUES (?, ?, 0)"
for (ID, stationName, systemName) in inCur:
if fakeNameRe.search(stationName):
pass
continue

system = systems[TradeDB.normalized_str(systemName)]

outCur.execute(stmt, [ stationName, system.ID ])
Expand Down

0 comments on commit 3550c06

Please sign in to comment.