We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74cd3bd commit 1b83253Copy full SHA for 1b83253
nipype/utils/provenance.py
@@ -183,7 +183,7 @@ def safe_encode(x, as_literal=True):
183
return pm.Literal(dumps(x), nipype_ns['pickle'])
184
except TypeError as e:
185
iflogger.info(e)
186
- value = "Could not encode: " + text_type(e, 'utf-8')
+ value = "Could not encode: " + text_type(str(e), 'utf-8')
187
if not as_literal:
188
return value
189
return pm.Literal(value, pm.XSD['string'])
0 commit comments