Add context menu support for predefined implant sets
This commit is contained in:
@@ -426,15 +426,6 @@ def getDynamicItem(itemID, eager=None):
|
||||
return result
|
||||
|
||||
|
||||
@cachedQuery(1, "lookfor")
|
||||
def getImplantSet(lookfor):
|
||||
if isinstance(lookfor, int):
|
||||
implantSet = gamedata_session.query(ImplantSet).get(lookfor)
|
||||
else:
|
||||
raise TypeError("Need integer as argument")
|
||||
return implantSet
|
||||
|
||||
|
||||
@cachedQuery(1, "lookfor")
|
||||
def getAllImplantSets():
|
||||
implantSets = gamedata_session.query(ImplantSet).all()
|
||||
|
||||
Reference in New Issue
Block a user