Files
PyGithub/github
Steve Kowalik bc225f9d11 Encode content for {create,update}_file (#1267)
If a byte object (for Python 3) was passed into either create_file or
update_file, it was attempted to be co-erced into a bytearray, which
failed. Check for encoded content before we encode it into bytes and
then base64 encode it.

Fixes #1266
2019-10-22 21:30:34 +11:00
..
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 15:03:10 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 15:03:10 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 15:03:10 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00
2019-08-05 14:06:19 +10:00