[FIX] psycopg2 return strings in unicode.
bzr revid: christophe@tinyerp.com-20081209122345-mqi0yy55yh0zswnm
This commit is contained in:
@@ -211,7 +211,7 @@ class ir_values(osv.osv):
|
||||
#ir_del(cr, uid, x[0])
|
||||
return False
|
||||
else:
|
||||
datas = pickle.loads(x[2])
|
||||
datas = pickle.loads(str(x[2]))
|
||||
if meta:
|
||||
meta2 = pickle.loads(x[4])
|
||||
return (x[0],x[1],datas,meta2)
|
||||
|
||||
Reference in New Issue
Block a user