Commit 2350249
committed
stomp.py: use six.text_type() instead of decode()
b60f601 added support for SNI to the STOMP protocol. The optionsForClientTLS()
API states that the hostname argument must be in unicode format, but under
Python 3 the argument is a str which doesn't provide a decode() method. Use
six.text_type() to ensure the proper type is always used.
This was reported in #69.1 parent da971e5 commit 2350249
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments