Пример #1
0
 def getComponentFromSlot(self, slotId, season=None):
     season = season or self.season
     slotId = correctSlot(slotId)
     outfit = self._modifiedOutfits[season]
     return shared.getComponentFromSlot(outfit, slotId)
Пример #2
0
 def _selectSlot(self, slotId):
     slotId = correctSlot(slotId)
     result = super(EditableStyleMode, self)._selectSlot(slotId)
     return result