From a2f65e9d465c6b0ae54f750647a454c8745eb686 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Wed, 24 Jun 2020 23:59:58 -0400 Subject: [PATCH] categoryName > name (this was caused by having name not be the literal data rather than the synonym) --- eos/gamedata.py | 2 +- gui/builtinItemStatsViews/itemAttributes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eos/gamedata.py b/eos/gamedata.py index 7d0852739..d29b45873 100644 --- a/eos/gamedata.py +++ b/eos/gamedata.py @@ -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") ): diff --git a/gui/builtinItemStatsViews/itemAttributes.py b/gui/builtinItemStatsViews/itemAttributes.py index 59ef77c08..e020047c8 100644 --- a/gui/builtinItemStatsViews/itemAttributes.py +++ b/gui/builtinItemStatsViews/itemAttributes.py @@ -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")