fix
This commit is contained in:
parent
a653b16a94
commit
6aa6a11bd1
|
|
@ -68,6 +68,9 @@ class ProgressChain(BaseMongoModel):
|
||||||
):
|
):
|
||||||
|
|
||||||
for action in filter(lambda c: c.action_type == "comment", chain.actions):
|
for action in filter(lambda c: c.action_type == "comment", chain.actions):
|
||||||
|
if not action.text:
|
||||||
|
continue
|
||||||
|
|
||||||
for key, value in variables.items():
|
for key, value in variables.items():
|
||||||
action.text = action.text.replace(f"{{{{{key}}}}}", value)
|
action.text = action.text.replace(f"{{{{{key}}}}}", value)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user