MCPcopy Create free account
hub / github.com/BrettMayson/Arma3Server / env_defined

Function env_defined

launch.py:16–17  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

14 return ' -{}="{}" '.format(name, ";".join(mods))
15
16def env_defined(key):
17 return key in os.environ and len(os.environ[key]) > 0
18
19CONFIG_FILE = os.environ["ARMA_CONFIG"]
20KEYS = "/arma3/server/keys"

Callers 1

launch.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected