Fixed get_nations returning nothing

This commit is contained in:
carl committed 2026-04-21 18:21:04 +02:00
1 parent c9811a9a01
commit 54653282aa
1 file changed
+1 -1
+1 -1
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():