From 4680fe1a934719b251651e34e306ae859a80dc0d Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Sun, 1 Jan 2023 21:01:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E8=B0=83=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index d7835714..23150f1d 100644 --- a/main.py +++ b/main.py @@ -103,7 +103,7 @@ if __name__ == '__main__': elif len(sys.argv) > 1 and sys.argv[1] == 'update': try: from dulwich import porcelain - repo = porcelain.open('.') + repo = porcelain.open_repo('.') porcelain.pull(repo) except ModuleNotFoundError: print("dulwich模块未安装,请查看 https://github.com/RockChinQ/QChatGPT/issues/77")