Commit 6739650
committed
Fix AOL bouncer: decode get_payload(decode=True) bytes to str
In Python 3, get_payload(decode=True) always returns bytes. AOL.py was
iterating over those bytes with string regex patterns, causing TypeError.
Decode to str before iterating.1 parent 8927a33 commit 6739650
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments