Skip to content

Commit

Permalink
Use Python 3 str in incoming (#541)
Browse files Browse the repository at this point in the history
Fixes Python 2 unicode issues.

Supersedes #539 to fix regression in #514
  • Loading branch information
mvollrath committed Nov 24, 2020
1 parent c147081 commit f3888b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rosbridge_library/src/rosbridge_library/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

from __future__ import unicode_literals
from builtins import str

import rospy
import time

Expand Down

0 comments on commit f3888b6

Please sign in to comment.