修复 ElectronUnion 对象初始化问题

This commit is contained in:
2025-07-30 01:32:31 +08:00
parent 36562323b7
commit 2c870377a6
3 changed files with 9 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class Reactor():
self.atoms_new.append(atom)
counter -= 1
else:
if atom[0]["next_date"] <= aux.get_daystamp():
if int(atom[0]["next_date"]) <= aux.get_daystamp():
atom[0]["last_date"] = aux.get_daystamp()
self.atoms_review.append(atom)
# 设置运行时
@@ -64,6 +64,9 @@ class Reactor():
2: "新记忆模式",
3: "总复习模式"
}
print("Atoms New:", self.atoms_new)
print("Atoms Review:", self.atoms_review)
processions = {
1: self.atoms_review,
2: self.atoms_new,