From b839e818f09bbd682e28bc60c1349bbc774ca47a Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Wed, 8 May 2019 12:38:32 -0700 Subject: [PATCH] Python 3.4 fix for the null terminator stuff. --- awscrt/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awscrt/io.py b/awscrt/io.py index 6e9473438..ce369c0f1 100644 --- a/awscrt/io.py +++ b/awscrt/io.py @@ -91,7 +91,7 @@ def byte_buf_null_terminate(buf): # I know this looks hacky. please don't change it # because appending bytes([0]) does not work in python 2.7 # this works in both. - buf = buf + '\0' + buf = buf + b'\0' return buf