From 6284cd8e7b0fd971799b0f0ea5cd4f480ab167c1 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 19 Aug 2023 13:12:09 +0200 Subject: [PATCH] Change to roundtrip-YAML parser Signed-off-by: Lixfel --- deployarena.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployarena.py b/deployarena.py index db4ce55..48a3c40 100755 --- a/deployarena.py +++ b/deployarena.py @@ -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}'