parent
36a46826d8
commit
b4e97bc443
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import tomllib
|
from pip._vendor import tomli
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
|
|
||||||
#print(os.environ["GITHUB_TOKEN"])
|
#print(os.environ["GITHUB_TOKEN"])
|
||||||
for mod in glob.glob("pack/mods/*.toml"):
|
for mod in glob.glob("pack/mods/*.toml"):
|
||||||
with open(mod, "rb") as f:
|
with open(mod, "rb") as f:
|
||||||
data = tomllib.load(f)
|
data = tomli.load(f)
|
||||||
print(mod)
|
print(mod)
|
||||||
print(data)
|
print(data)
|
||||||
|
|
Loading…
Reference in a new issue