Skip to content

Commit

Permalink
fix: not using fdev_id for ships, as internal id is same now
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeonus committed May 1, 2024
1 parent ba927f4 commit 38e4ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tradedangerous/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class FDEVMappingItems(FDEVMappingBase):
Maps ID to TD and EDDN items
"""
tableName = "Item"
colNames = [ 'fdev_id', 'name' ]
colNames = [ 'item_id', 'name' ]

def mapUnknown(self):
# no ID known yet for:
Expand All @@ -113,7 +113,7 @@ class FDEVMappingShips(FDEVMappingBase):
Maps ID to TD ships
"""
tableName = "Ship"
colNames = [ 'fdev_id', 'name' ]
colNames = [ 'ship_id', 'name' ]

class FDEVMappingShipyard(FDEVMappingBase):
"""
Expand Down

0 comments on commit 38e4ac9

Please sign in to comment.