Closed chiruzzimarco closed 1 year ago
In a Python3 environment unicode related exceptions are raised:
TypeError: Cannot mix str and non-str arguments
TypeError: argument can't be <type 'unicode'>
This PR fixes them.
@alecpm I tried with safe_nativestring without success, safe_unicode looks like the best choice to me.
safe_nativestring
safe_unicode
I made a small change so we don't depend on Plone, but this seems to be working well.
In a Python3 environment unicode related exceptions are raised:
TypeError: Cannot mix str and non-str arguments
TypeError: argument can't be <type 'unicode'>
This PR fixes them.