From 443ce0377fdc338cf7ecb4dfa1b71da0ba57c4ca Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 19 Aug 2023 13:11:16 +0200 Subject: [PATCH] Change to roundtrip-YAML parser Signed-off-by: Lixfel --- deployarena.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployarena.py b/deployarena.py index c6b8f91..db4ce55 100755 --- a/deployarena.py +++ b/deployarena.py @@ -7,8 +7,9 @@ import tarfile from os import path # Non stdlib -import yaml from nbt import nbt +from ruamel.yaml import YAML +yaml = YAML() if __name__ == "__main__": configfile = f'/configs/GameModes/{sys.argv[1]}'