Remove need for Icon class, references to it's DB relationship, and remove from DB. Also, add the files. All the files.

This commit is contained in:
blitzmann
2018-05-31 21:13:12 -04:00
parent ff1d8109cd
commit 5388ba7a70
1030 changed files with 49 additions and 96 deletions

View File

@@ -33,10 +33,10 @@ class Attribute(object):
@staticmethod
def getAttributeInfo(identity):
if isinstance(identity, (int, str)):
info = eos.db.getAttributeInfo(identity, eager=("icon", "unit"))
info = eos.db.getAttributeInfo(identity, eager=("unit"))
elif isinstance(identity, (int, float)):
id_ = int(identity)
info = eos.db.getAttributeInfo(id_, eager=("icon", "unit"))
info = eos.db.getAttributeInfo(id_, eager=("unit"))
else:
info = None
return info