refine code

This commit is contained in:
geekan 2024-01-10 16:28:01 +08:00 committed by 莘权 马
parent eea66bad19
commit c1d21b96f9

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,
)