More tweaks to dynamically generate the columns, and a fix for attribute display names

This commit is contained in:
blitzmann
2020-06-25 00:40:29 -04:00
parent 8be4b0dd91
commit 66140f092b
3 changed files with 9 additions and 9 deletions

View File

@@ -156,7 +156,8 @@ def update_db():
def processEveGroups():
print('processing evegroups')
data = _readData('fsd_lite', 'evegroups', keyIdName='groupID')
_addRows(data, eos.gamedata.Group, fieldMap={'groupName_en-us': 'groupName'})
map = {'groupName_en-us': 'groupName'}
_addRows(data, eos.gamedata.Group, fieldMap=map)
return data
def processEveCategories():
@@ -169,10 +170,11 @@ def update_db():
def processDogmaAttributes():
print('processing dogmaattributes')
data = _readData('fsd_binary', 'dogmaattributes', keyIdName='attributeID')
_addRows(data, eos.gamedata.AttributeInfo, fieldMap={
map = {
'displayName_en-us': 'displayName',
'tooltipDescription_en-us': 'tooltipDescription'
})
}
_addRows(data, eos.gamedata.AttributeInfo, fieldMap=map)
def processDogmaTypeAttributes(eveTypesData):
print('processing dogmatypeattributes')