Ticket #5812: model.py.b.patch
| File model.py.b.patch, 435 bytes (added by grafikrobot@…, 5 years ago) |
|---|
-
.py
old new 80 80 string""" 81 81 try: 82 82 return to_unicode(content.decode('base64')) 83 except (UnicodeEncodeError, binascii.Error ):83 except (UnicodeEncodeError, binascii.Error, AttributeError): 84 84 # cope with legacy content (stored before base64 encoding) 85 85 return to_unicode(content) 86 86
