Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions tasks/Dokan/script_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading