diff options
Diffstat (limited to 'labbot/config.py')
-rw-r--r-- | labbot/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/labbot/config.py b/labbot/config.py index f372008..f3da425 100644 --- a/labbot/config.py +++ b/labbot/config.py @@ -29,6 +29,8 @@ def write_instance_config(name: str, data: dict) -> None: os.makedirs(instance_path, exist_ok=True) conf_path = os.path.join(instance_path, CONFIG_FILE) + data = json.loads(json.dumps(data)) + with open(conf_path, "w") as file: json.dump(data, file) |