Fixed get_nations returning nothing
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user