mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix versions sorting
This commit is contained in:
parent
71612ad9b8
commit
926e75c075
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def read_verfile(file: Path) -> VersData:
|
||||||
def write_verfile(file: Path, versions: VersData) -> None:
|
def write_verfile(file: Path, versions: VersData) -> None:
|
||||||
# sort and indent to make it friendly to human and git
|
# sort and indent to make it friendly to human and git
|
||||||
data = json.dumps(
|
data = json.dumps(
|
||||||
dict(sorted(versions)),
|
dict(sorted(versions.items())),
|
||||||
indent=2,
|
indent=2,
|
||||||
ensure_ascii=False,
|
ensure_ascii=False,
|
||||||
) + '\n'
|
) + '\n'
|
||||||
|
|
Loading…
Add table
Reference in a new issue