From b4e97bc443c6d0d2670a935c9edb1afd9f51f169 Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Sat, 27 Jul 2024 14:41:57 +0200 Subject: [PATCH] test --- .forgejo/scripts/update-wiki.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/scripts/update-wiki.py b/.forgejo/scripts/update-wiki.py index d224756..8acdb54 100644 --- a/.forgejo/scripts/update-wiki.py +++ b/.forgejo/scripts/update-wiki.py @@ -1,12 +1,12 @@ #!/usr/bin/env python -import tomllib +from pip._vendor import tomli import glob import os #print(os.environ["GITHUB_TOKEN"]) for mod in glob.glob("pack/mods/*.toml"): with open(mod, "rb") as f: - data = tomllib.load(f) + data = tomli.load(f) print(mod) print(data)