diff --git a/IPython/parallel/apps/winhpcjob.py b/IPython/parallel/apps/winhpcjob.py index 3175339..92f8603 100644 --- a/IPython/parallel/apps/winhpcjob.py +++ b/IPython/parallel/apps/winhpcjob.py @@ -145,7 +145,7 @@ class WinHPCJob(Configurable): """Return the string representation of the job description XML.""" root = self.as_element() indent(root) - txt = ET.tostring(root, encoding="utf-8") + txt = ET.tostring(root, encoding="utf-8").decode('utf-8') # Now remove the tokens used to order the attributes. txt = re.sub(r'_[A-Z]_','',txt) txt = '\n' + txt