Removed return and re-added apiUpdateCharSheet function

This commit is contained in:
WatchMeCalculate
2018-06-19 00:16:32 -07:00
parent 6c6423515c
commit 99f14746e4
2 changed files with 6 additions and 3 deletions

View File

@@ -125,6 +125,12 @@ class Character(object):
return all0
def apiUpdateCharSheet(self, skills, secStatus=0.00):
self.clearSkills()
for skillRow in skills:
self.addSkill(Skill(self, skillRow["typeID"], skillRow["level"]))
self.secStatus = float(secStatus)
def clearSkills(self):
del self.__skills[:]
self.__skillIdMap.clear()

View File

@@ -51,9 +51,6 @@ class CharacterImportThread(threading.Thread):
self.callback = callback
def run(self):
wx.CallAfter(self.callback)
# todo: Fix character import (don't need CCP SML anymore, only support evemon?)
return
paths = self.paths
sCharacter = Character.getInstance()
all5_character = es_Character("All 5", 5)