Skip to content

Commit

Permalink
Track systems by their new system ID for later lookups
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Aug 25, 2014
1 parent b56fc86 commit 9f3b1ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ def main():
systemID = int(outCur.lastrowid)
system = System(systemID, star.name, star.x, star.y, star.z)
systems[TradeDB.normalized_str(star.name)] = system
systemByID[systemID] = system
debug_log(1, "{} star systems loaded".format(len(systems)))

with check_item("Populate `Station` table"):
# We're going to remap the station IDs to new IDs, and we're the accessdb
Expand Down

0 comments on commit 9f3b1ef

Please sign in to comment.