mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 12:05:54 +00:00
7 lines
273 B
Python
7 lines
273 B
Python
def update_all():
|
|
try:
|
|
from dulwich import porcelain
|
|
repo = porcelain.open_repo('.')
|
|
porcelain.pull(repo)
|
|
except ModuleNotFoundError:
|
|
raise Exception("dulwich模块未安装,请查看 https://github.com/RockChinQ/QChatGPT/issues/77") |