py2to3 automatic conversion. Woot!
This commit is contained in:
@@ -32,7 +32,7 @@ class Attribute(object):
|
||||
|
||||
@staticmethod
|
||||
def getAttributeInfo(identity):
|
||||
if isinstance(identity, (int, basestring)):
|
||||
if isinstance(identity, (int, str)):
|
||||
info = eos.db.getAttributeInfo(identity, eager=("icon", "unit"))
|
||||
elif isinstance(identity, (int, float)):
|
||||
id_ = int(identity)
|
||||
|
||||
Reference in New Issue
Block a user