repo_config: switch to .yaml

This commit is contained in:
InsanePrawn 2023-03-27 09:23:02 +02:00
parent d77adf9b21
commit 4517201118
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ class ReposConfigFile(DataClass):
def parse_config(path: str) -> ReposConfigFile:
try:
with open(path, 'r') as fd:
data = toml.load(fd)
data = yaml.safe_load(fd)
data['_path'] = path
data['_checksum'] = sha256sum(path)
return ReposConfigFile(data, validate=True)