Fixed command formatting having too many spaces.

This commit is contained in:
2026-05-03 01:12:35 +02:00
parent 36be931e9f
commit ca7283d57a

View File

@@ -146,7 +146,7 @@ def server_command_builder(
" --statuspage ",
os.getcwd() + "/games/" + name + "/turnstats.html",
" --era ",
era,
str(era),
]
if team_game:
for team in teams:
@@ -221,7 +221,7 @@ def server_command_builder(
command.append(" --vwrap")
if not hwrap:
command.append(" --nohwrap")
return command
return "".join(command)
def is_port_in_use(port: int) -> bool: