fix: 小范围修补
This commit is contained in:
@@ -6,10 +6,10 @@ daystamp_override = -1
|
||||
timestamp_override = -1
|
||||
|
||||
# [调试] 一键通过
|
||||
quick_pass = 1
|
||||
quick_pass = true
|
||||
|
||||
# 对于每个项目的默认新记忆原子数量
|
||||
scheduled_num = 999
|
||||
scheduled_num = 8
|
||||
|
||||
# UTC 时间戳修正 仅用于 UNIX 日时间戳的生成修正, 单位为秒
|
||||
timezone_offset = +28800 # 中国标准时间 (UTC+8)
|
||||
@@ -17,7 +17,7 @@ timezone_offset = +28800 # 中国标准时间 (UTC+8)
|
||||
[interface]
|
||||
|
||||
[interface.memorizor]
|
||||
autovoice = 0 # 自动语音播放, 仅限于 recognition 组件
|
||||
autovoice = false # 自动语音播放, 仅限于 recognition 组件
|
||||
|
||||
[algorithm]
|
||||
default = "SM-2" # 主要算法; 可选项: SM-2, SM-15M, FSRS
|
||||
|
||||
@@ -90,7 +90,7 @@ class MemScreen(Screen):
|
||||
s = f"阶段: {self.procession.phase.name}\n"
|
||||
# 收藏状态
|
||||
if self.repo is not None:
|
||||
fav_status = "★" if self._is_current_atom_favorited() else "☆"
|
||||
fav_status = "已收藏" if self._is_current_atom_favorited() else "未收藏"
|
||||
s += f"收藏: {fav_status}\n"
|
||||
if config_var.get().get("debug_topline", 0):
|
||||
try:
|
||||
@@ -113,7 +113,7 @@ class MemScreen(Screen):
|
||||
s += f"{stat}\n"
|
||||
except Exception as e:
|
||||
s = str(e)
|
||||
# s += f"当前进度: {self.procession.process() + 1}/{self.procession.total_length()}"
|
||||
s += f"进度: {self.procession.process() + 1}/{self.procession.total_length()}"
|
||||
return s
|
||||
|
||||
def update_display(self):
|
||||
|
||||
@@ -55,6 +55,8 @@ class MCQPuzzle(BasePuzzleWidget):
|
||||
|
||||
def _load(self):
|
||||
cfg = self.atom.registry["nucleon"]["puzzles"][self.alia]
|
||||
if cfg['mapping'] == {}:
|
||||
self.screen.rating = 5 # type: ignore
|
||||
self.puzzle = pz.MCQPuzzle(
|
||||
cfg["mapping"], cfg["jammer"], int(cfg["max_riddles_num"]), cfg["prefix"]
|
||||
)
|
||||
|
||||
@@ -90,7 +90,7 @@ class Recognition(BasePuzzleWidget):
|
||||
for item in cfg["secondary"]:
|
||||
if isinstance(item, list):
|
||||
for j in item:
|
||||
yield Markdown(f"### {j}") #TODO ANNOTATION
|
||||
yield Markdown(f"### 笔记: {j}") #TODO ANNOTATION
|
||||
continue
|
||||
if isinstance(item, Dict):
|
||||
total = ""
|
||||
|
||||
Reference in New Issue
Block a user