Skip to content

Commit cea7d2d

Browse files
committed
can't call decode on a string in python 3
1 parent 3586a1c commit cea7d2d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

posthog/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ def _coerce_unicode(cmplx):
104104
item = cmplx.decode("utf-8", "strict")
105105
except AttributeError as exception:
106106
item = ":".join(exception)
107-
item.decode("utf-8", "strict")
108107
log.warning("Error decoding: %s", item)
109108
return None
110109
return item

0 commit comments

Comments
 (0)