Update existing character if character with the same name exists

This commit is contained in:
DarkPhoenix
2020-04-13 12:52:02 +03:00
parent 1772bb5e7f
commit dcb058a718
2 changed files with 6 additions and 7 deletions

View File

@@ -242,8 +242,8 @@ class Character:
return eos.db.getCharacterList()
@staticmethod
def getCharacter(charID):
char = eos.db.getCharacter(charID)
def getCharacter(identity):
char = eos.db.getCharacter(identity)
return char
def saveCharacter(self, charID):