Archiviert
1
0

Change to roundtrip-YAML parser

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-08-19 13:12:09 +02:00
Ursprung 443ce0377f
Commit 6284cd8e7b

Datei anzeigen

@ -17,7 +17,7 @@ if __name__ == "__main__":
worldname = sys.argv[3]
with open(configfile, 'r') as file:
gamemode = yaml.load(file, Loader=yaml.CLoader)
gamemode = yaml.load(file)
builderworld = path.expanduser(f'~/builder{version}/{worldname}')
arenaworld = f'/servers/{gamemode["Server"]["Folder"]}/arenas/{worldname}'