TextProperty fails loading from db if compressed
dmalis opened this issue · 0 comments
dmalis commented
When checking if value is compressed, code below fails @ py3.8
if not value.startswith(_ZLIB_COMPRESSION_MARKER):
return value
with an error:
TypeError: startswith first arg must be str or a tuple of str, not bytes