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

Method getPilotSecurity

eos/saveddata/fit.py:1831–1841  ·  view source on GitHub ↗
(self, low_limit=-10, high_limit=5)

Source from the content-addressed store, hash-verified

1829 return secstatus
1830
1831 def getPilotSecurity(self, low_limit=-10, high_limit=5):
1832 secstatus = self.pilotSecurity
1833 # Not defined -> use character SS, with 0.0 fallback if it fails
1834 if secstatus is None:
1835 try:
1836 secstatus = self.character.secStatus
1837 except (SystemExit, KeyboardInterrupt):
1838 raise
1839 except:
1840 secstatus = 0
1841 return max(low_limit, min(high_limit, secstatus))
1842
1843 def activeModulesIter(self):
1844 for mod in self.modules:

Callers 7

getSubMenuMethod · 0.80
handleModeCustomMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected