From 0d1368874e6da2b3f9584ed93bdc40aaea2018ee Mon Sep 17 00:00:00 2001 From: huiyuhang1 <42746033+huiyuhang1@users.noreply.github.com> Date: Mon, 19 Oct 2026 10:58:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(Dokan):=20=E5=85=81=E8=AE=B8=E5=9C=A8?= =?UTF-8?q?=E4=BB=BB=E6=84=8F=E6=97=A5=E6=9C=9F=E5=BB=BA=E7=AB=8B=E5=B0=9A?= =?UTF-8?q?=E6=9C=AA=E5=BC=80=E5=90=AF=E7=9A=84=E9=81=93=E9=A6=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/Dokan/script_task.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/Dokan/script_task.py b/tasks/Dokan/script_task.py index e6063133e8..b0ec7bc7a1 100644 --- a/tasks/Dokan/script_task.py +++ b/tasks/Dokan/script_task.py @@ -140,9 +140,8 @@ def run(self): if not try_start_dokan: is_dokan_activated = False break - # NOTE 只在周一尝试建立道馆 - if datetime.now().weekday() == 0: - self.creat_dokan() + # 道馆未开启时尝试建立,不依赖当前星期。 + self.creat_dokan() # 寻找合适道馆,找不到直接退出 if not self.find_dokan(self.config.dokan.dokan_config.find_dokan_score):