Skip to content

Commit

Permalink
Python 3.4 fix for the null terminator stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed May 8, 2019
1 parent a5ecc33 commit b839e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awscrt/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit b839e81

Please sign in to comment.