Fixed command formatting having too many spaces.
This commit is contained in:
@@ -146,7 +146,7 @@ def server_command_builder(
|
|||||||
" --statuspage ",
|
" --statuspage ",
|
||||||
os.getcwd() + "/games/" + name + "/turnstats.html",
|
os.getcwd() + "/games/" + name + "/turnstats.html",
|
||||||
" --era ",
|
" --era ",
|
||||||
era,
|
str(era),
|
||||||
]
|
]
|
||||||
if team_game:
|
if team_game:
|
||||||
for team in teams:
|
for team in teams:
|
||||||
@@ -221,7 +221,7 @@ def server_command_builder(
|
|||||||
command.append(" --vwrap")
|
command.append(" --vwrap")
|
||||||
if not hwrap:
|
if not hwrap:
|
||||||
command.append(" --nohwrap")
|
command.append(" --nohwrap")
|
||||||
return command
|
return "".join(command)
|
||||||
|
|
||||||
|
|
||||||
def is_port_in_use(port: int) -> bool:
|
def is_port_in_use(port: int) -> bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user