Przeglądaj źródła

fix(tasks): Add MetaDemon to scheduler

ryland 2 lat temu
rodzic
commit
cd4df43f1c
2 zmienionych plików z 5 dodań i 5 usunięć
  1. 2 2
      module/config/config_manual.py
  2. 3 3
      module/logger.py

+ 2 - 2
module/config/config_manual.py

@@ -9,7 +9,7 @@ class ConfigManual:
 
 
     SCHEDULER_PRIORITY = """
     SCHEDULER_PRIORITY = """
         Restart
         Restart
-        >KekkaiUtilize > KekkaiActivation > DemonEncounter
+        > KekkaiUtilize > KekkaiActivation > DemonEncounter
         > AreaBoss > GoldYoukai > ExperienceYoukai > Nian > Tako > RealmRaid > RyouToppa > DailyTrifles > Exploration
         > AreaBoss > GoldYoukai > ExperienceYoukai > Nian > Tako > RealmRaid > RyouToppa > DailyTrifles > Exploration
         > Hunt 
         > Hunt 
         > Orochi > OrochiMoans > OrochiJudgement > Sougenbi > FallenSun > EternitySea
         > Orochi > OrochiMoans > OrochiJudgement > Sougenbi > FallenSun > EternitySea
@@ -18,7 +18,7 @@ class ConfigManual:
         > TrueOrochi > RichMan
         > TrueOrochi > RichMan
         > CollectiveMissions
         > CollectiveMissions
         > Pets > TalismanPass > SoulsTidy > Delegation
         > Pets > TalismanPass > SoulsTidy > Delegation
-        > Secret > WeeklyTrifles > MysteryShop > Duel
+        > Secret > WeeklyTrifles > MysteryShop > Duel > MetaDemon
         """
         """
 
 
     DEVICE_OVER_HTTP = False
     DEVICE_OVER_HTTP = False

+ 3 - 3
module/logger.py

@@ -208,7 +208,7 @@ def set_file_logger(name=pyw_name):
         file=file,
         file=file,
         no_color=True,
         no_color=True,
         highlight=False,
         highlight=False,
-        width=100,
+        width=80,
     )
     )
 
 
     hdlr = RichFileHandler(
     hdlr = RichFileHandler(
@@ -238,7 +238,7 @@ def set_func_logger(func):
         force_interactive=False,
         force_interactive=False,
         no_color=True,
         no_color=True,
         highlight=False,
         highlight=False,
-        width=100,
+        width=80,
     )
     )
     hdlr = FlutterHandler(
     hdlr = FlutterHandler(
         console=stream_console,
         console=stream_console,
@@ -295,7 +295,7 @@ class GuiRule(Rule):
         return super().__rich_console__(console, options)
         return super().__rich_console__(console, options)
 
 
     def __str__(self):
     def __str__(self):
-        total_width = 100
+        total_width = 80
         cell_len = len(self.title) + 2
         cell_len = len(self.title) + 2
         aside_len = (total_width - cell_len) // 2
         aside_len = (total_width - cell_len) // 2
         left = self.characters * aside_len
         left = self.characters * aside_len