Commit 69f33ee
committed
Allow cookie authentication to work with Python 3.5
The json module started understanding bytes in Python 3.6 (with an
heuristic on which Unicode encoding the bytes are using).
We don't ufficially support Python 3.5, but since it's an easy fix and
we know better than the heuristic the encoding (UTF-8, since
everything is ASCII, really), let's decode explicitly.1 parent 3401a2a commit 69f33ee
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| |||
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
319 | | - | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
| |||
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
360 | | - | |
| 361 | + | |
| 362 | + | |
0 commit comments