diff options
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,12 +62,12 @@ class ItemDB: item_struct = Item() item_struct.name = item3.get('name') if item3.get('weight'): - item_struct.weight = item.get('weight') + item_struct.weight = item3.get('weight') else: item_struct.weight = 0 if item3.get('type'): item_struct.type = item3.get('type') - item_struct.description = item.get('description') + item_struct.description = item3.get('description') self.item_names[int(item3.get('id'))] = item_struct def getItem(self, item_id): |