MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/fitCommands/gui/localFighter/add.py:14–18  ·  view source on GitHub ↗
(self, fitID, itemID)

Source from the content-addressed store, hash-verified

12class GuiAddLocalFighterCommand(wx.Command):
13
14 def __init__(self, fitID, itemID):
15 wx.Command.__init__(self, True, 'Add Local Fighter')
16 self.internalHistory = InternalCommandHistory()
17 self.fitID = fitID
18 self.itemID = itemID
19
20 def Do(self):
21 cmd = CalcAddLocalFighterCommand(fitID=self.fitID, fighterInfo=FighterInfo(itemID=self.itemID))

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected