Take care of empty market groups

This commit is contained in:
blitzmann
2016-05-01 19:06:34 -04:00
parent 854476db76
commit 57b9b916ed
3 changed files with 11 additions and 1 deletions

View File

@@ -402,7 +402,10 @@ class Icon(EqBase):
pass
class MarketGroup(EqBase):
pass
def __repr__(self):
return u"MarketGroup(ID={}, name={}, parent={}) at {}".format(
self.ID, self.name, getattr(self.parent, "name", None), self.name, hex(id(self))
).encode('utf8')
class MetaGroup(EqBase):
pass