Fix b' in session.flash when storing a LazyT
probably Fixes #2110 as putting T('foo') in the session was the only way I could reproduce it
This commit is contained in:
1 parent
0fc807e5cf
commit
701b6e1ebd
1 file changed
+1
-1
+1
-1
@@ -451,7 +451,7 @@ class lazyT(object):
|
||||
|
||||
|
||||
def pickle_lazyT(c):
|
||||
return str, (c.xml(),)
|
||||
return str, (to_native(c.xml()),)
|
||||
|
||||
copyreg.pickle(lazyT, pickle_lazyT)
|
||||
|
||||
|
||||
Reference in new issue
Block a user