[feat/utils] sorted imges list

This commit is contained in:
SouthFox 2024-10-04 16:29:48 +08:00
parent 2ed17c110f
commit 2d374d8eba

View file

@ -122,7 +122,7 @@ def backupImg():
os.makedirs('./newimg')
nowImgJson = {}
nowImgJson["img"] = nowImgList
nowImgJson["img"] = sorted(nowImgList)
with open('./newimg/imgList.json', 'w', encoding='utf-8') as f:
json.dump(nowImgJson, f)