From a75839bd2e6e140ca62b1ea96cbc815085738db9 Mon Sep 17 00:00:00 2001 From: pur1fy <2274916027@qq.com> Date: Tue, 27 Feb 2024 23:21:42 +0800 Subject: [PATCH] fix mini story --- gui/components/expand/proceedPlot.py | 2 +- module/mini_story.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gui/components/expand/proceedPlot.py b/gui/components/expand/proceedPlot.py index 6f6148b2a..f2fec6206 100644 --- a/gui/components/expand/proceedPlot.py +++ b/gui/components/expand/proceedPlot.py @@ -42,4 +42,4 @@ def proceed_group_plot(self): def proceed_branch_plot(self): import threading - threading.Thread(target=get_context_thread(self).start_branch_story).start() + threading.Thread(target=get_context_thread(self).start_mini_story).start() diff --git a/module/mini_story.py b/module/mini_story.py index 09c9601a6..fb5a94951 100644 --- a/module/mini_story.py +++ b/module/mini_story.py @@ -3,6 +3,9 @@ def implement(self): + if self.server == 'CN': + self.logger.warning("mini story not open") + return True self.quick_method_to_main_page() to_mini_story(self, True) time.sleep(1)