Have you tested this line 
File = base64.encodestring(File)
Because in my version of sugarcrm 6.2, the file is already encoded in base64
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-import_sugarcrm-finalize_correction-sgo/+merge/67660
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-import_sugarcrm.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to