Commit 962bb8fa authored by Patrick Gerken's avatar Patrick Gerken

Adding encoding

This one was still missing.
parent 6fcffc95
......@@ -139,7 +139,8 @@ class WorkflowDefinitionConfigurator( Implicit ):
def generateWorkflowXML(self):
""" Pseudo API.
"""
return self._workflowConfig(workflow_id=self._obj.getId())
return self._workflowConfig(workflow_id=self._obj.getId())\
.encode('utf-8')
security.declareProtected( ManagePortal, 'getWorkflowScripts' )
def getWorkflowScripts(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment