Fixed get_nations returning nothing

This commit is contained in:
2026-04-21 18:21:04 +02:00
parent c9811a9a01
commit 54653282aa

View File

@@ -30,7 +30,7 @@ def create_server(name, port, channel):
def get_nations():
# TODO mod support
nation_string = str(subprocess.check_output([SERVER_PATH, "--listnations"]))
nation_string = subprocess.check_output([SERVER_PATH, "--listnations"]).decode()
nations = {}
current_era = None
for line in nation_string.splitlines():