Fix alpha clones

This commit is contained in:
blitzmann
2017-11-22 21:51:40 -05:00
parent d45d7204d2
commit 7058018aed
3 changed files with 10 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
"""
Migration 27
- Resets all alpha clones to 1 (CCP consolidated all alpha's into one skillset)
"""
def upgrade(saveddata_engine):
saveddata_engine.execute("UPDATE characters SET alphaCloneID = 1 WHERE alphaCloneID IS NOT NULL")

View File

@@ -158,9 +158,7 @@ class Character(object):
name += " *"
if self.alphaCloneID:
clone = eos.db.getAlphaClone(self.alphaCloneID)
type = clone.alphaCloneName.split()[1]
name += u' (\u03B1{})'.format(type[0].upper())
name += u' (\u03B1)'
return name

BIN
eve.db

Binary file not shown.