From db1fb587170f33b3d594477ba322f090e41650a2 Mon Sep 17 00:00:00 2001 From: snowykami Date: Tue, 17 Sep 2024 16:01:19 +0800 Subject: [PATCH] =?UTF-8?q?:package:=20docs:=20=E8=B5=84=E6=BA=90=E5=95=86?= =?UTF-8?q?=E5=BA=97=E6=96=B0=E5=A2=9E=E5=8F=91=E5=B8=83=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki_flow/resource_handler.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/liteyuki_flow/resource_handler.py b/liteyuki_flow/resource_handler.py index f071f94a..87a925ee 100644 --- a/liteyuki_flow/resource_handler.py +++ b/liteyuki_flow/resource_handler.py @@ -113,11 +113,11 @@ def add_resource(github: Github, issue: Issue, repo: Repository): # 编辑仓库内的json文件 resources = json.load(open(RESOURCE_JSON)) resources.append({ - "name" : name, - "desc" : desc, - "link" : link, - "homepage": homepage, - "author" : author + "name" : name, + "description": desc, + "link" : link, + "homepage" : homepage, + "author" : author }) ref = repo.get_git_ref("heads/main") tree = repo.create_git_tree(