mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
fix: 更新功能函数调用错误
This commit is contained in:
2
main.py
2
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")
|
||||
|
||||
Reference in New Issue
Block a user