Fix port assigning
Ports weren't assigned to the user after creation of the server only on start
This commit is contained in:
parent
a281ae3887
commit
ff832e4788
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ def save_server_info(username, server_type, server_version):
|
||||||
os.makedirs(os.path.dirname(server_info_path), exist_ok=True)
|
os.makedirs(os.path.dirname(server_info_path), exist_ok=True)
|
||||||
with open(server_info_path, "w") as f:
|
with open(server_info_path, "w") as f:
|
||||||
json.dump(server_info, f)
|
json.dump(server_info, f)
|
||||||
|
assign_ports(username)
|
||||||
|
|
||||||
|
|
||||||
def get_server_info(username):
|
def get_server_info(username):
|
||||||
|
|
Loading…
Add table
Reference in a new issue