misc: fix import of worklows module, it *has* to be absolute (#6781)

This commit is contained in:
Frédéric Péters 2015-03-19 12:05:32 +01:00
parent f109d388fd
commit 1e00f571e2
1 changed files with 2 additions and 2 deletions

View File

@ -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'