categoryName > name (this was caused by having name not be the literal data rather than the synonym)

This commit is contained in:
blitzmann
2020-06-24 23:59:58 -04:00
parent c040ff26c0
commit a2f65e9d46
2 changed files with 2 additions and 2 deletions

View File

@@ -344,7 +344,7 @@ class Item(EqBase):
try:
if (
self.category.categoryName == 'Structure' or
self.category.name == 'Structure' or
# Here until CCP puts their shit together
self.name in ("Thunderchild", "Stormbringer", "Skybreaker")
):

View File

@@ -216,7 +216,7 @@ class ItemParams(wx.Panel):
misc_parent = root
# We must first deet4ermine if it's categorey already has defined groupings set for it. Otherwise, we default to just using the fitting group
order = CategoryGroups.get(self.item.category.categoryName, [GuiAttrGroup.FITTING, GuiAttrGroup.SHIP_GROUP])
order = CategoryGroups.get(self.item.category.name, [GuiAttrGroup.FITTING, GuiAttrGroup.SHIP_GROUP])
# start building out the tree
for data in [AttrGroupDict[o] for o in order]:
heading = data.get("label")