def checkAwarded(self): """ Check if the Rating should be awarded """ self.awarded = self.moveCount <= 20 if self.awarded: CURRENT_PROFILE.addMoveRating(self.level)
def checkAwarded(self): """ Check if the Rating should be awarded """ self.awarded = self.moveCount <= 20 if self.awarded: CURRENT_PROFILE.addMoveRating(self.level)