fix build variable.

This commit is contained in:
Matthew Stratford 2021-04-11 20:40:25 +01:00
parent ecbab09f61
commit c2b5a5ba34

View file

@ -514,11 +514,10 @@ def startServer():
state = StateManager("BAPSicleServer", logger, default_state)
# TODO: Check these match, if not, trigger any upgrade noticies / welcome
state.update("server_version", config.VERSION)
build_commit = "Dev"
if isBundelled():
build = build.BUILD
else:
build = "Dev"
state.update("server_build", build)
build_commit = build.BUILD
state.update("server_build", build_commit)
if isMacOS():
multiprocessing.set_start_method("spawn", True)