From 570a46a8401660186314c38b6ce4834456fb53f3 Mon Sep 17 00:00:00 2001 From: snowy Date: Wed, 27 Mar 2024 23:51:35 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BD=BF=E7=94=A8vuepress=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E6=9E=84=E5=BB=BA=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki/liteyuki_main/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteyuki/liteyuki_main/core.py b/liteyuki/liteyuki_main/core.py index 62a4f47..8315c49 100644 --- a/liteyuki/liteyuki_main/core.py +++ b/liteyuki/liteyuki_main/core.py @@ -52,7 +52,7 @@ async def _(bot: T_Bot, event: T_MessageEvent): break except Exception as e: print(f"Pull from {origin} failed: {e}") - logs = repo.index.diff() + logs = repo.index reply = "Liteyuki updated!\n" reply += f"```\n{logs}\n```\n" btn_restart = md.button(ulang.get("liteyuki.restart_now"), "restart-liteyuki")