refine code

This commit is contained in:
geekan 2024-01-10 16:28:01 +08:00
parent 2b3a4e06cc
commit 4003f124bb

View file

@ -35,7 +35,7 @@ class WriteTeachingPlanPart(Action):
formation=TeachingPlanBlock.FORMATION,
role=self.prefix,
statements="\n".join(statements),
lesson=self.context,
lesson=self.i_context,
topic=self.topic,
language=self.language,
)