misc: fix import of worklows module, it *has* to be absolute (#6781)
This commit is contained in:
parent
f109d388fd
commit
1e00f571e2
|
@ -445,8 +445,8 @@ class CommentField(Field):
|
|||
else:
|
||||
label = self.label
|
||||
|
||||
from workflows import template_on_string
|
||||
label = template_on_string(label)
|
||||
import wcs.workflows
|
||||
label = wcs.workflows.template_on_string(label)
|
||||
|
||||
if '<p' in label:
|
||||
enclosing_tag = 'div'
|
||||
|
|
Loading…
Reference in New Issue