There was an error while loading. Please reload this page.
2 parents 4a49d49 + 400cce7 commit 66a2bf0Copy full SHA for 66a2bf0
1 file changed
scripts/package-build/build.py
@@ -18,7 +18,7 @@
18
import glob
19
import shutil
20
import sys
21
-import toml
+import tomli
22
import os
23
24
from argparse import ArgumentParser
@@ -207,8 +207,8 @@ def copy_packages(repo_dir: Path) -> None:
207
args = arg_parser.parse_args()
208
209
# Load package configuration
210
- with open(args.config, 'r') as file:
211
- config = toml.load(file)
+ with open(args.config, 'rb') as file:
+ config = tomli.load(file)
212
213
packages = config['packages']
214
patch_dir = Path(args.patch_dir)
0 commit comments