Merge pull request #2127 from leonelcamara/patch-24

Fix b' in session.flash when storing a LazyT
This commit is contained in:
mdipierro authored and GitHub committed 2019-03-04 19:54:26 -08:00
commit 910754c5c7
1 file changed
+1 -1
+1 -1
View File
@@ -451,7 +451,7 @@ class lazyT(object):
def pickle_lazyT(c): def pickle_lazyT(c):
return str, (c.xml(),) return str, (to_native(c.xml()),)
copyreg.pickle(lazyT, pickle_lazyT) copyreg.pickle(lazyT, pickle_lazyT)