El 26/09/16 a les 11:40, Cédric Krier ha escrit:
On 2016-09-26 11:25, Sergi Almacellas Abellana wrote:
> Am I doing something wrong? Or it's a proteus bug and it should accept also
> string values for text files?
str in Python2 or Python3 is not the same thing.
You must use str in Python2 and bytes in Python3 for Binary field.
Thanks for your help, I finally manged to make the module work on both
python2 and python3 using the correct objects on both versions.
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/657cae88-0e46-2e49-0b95-cd3ef2d60b9f%40koolpi.com.