Skip to content

Event name with dash causes crash in Python 3.5 #36

@ghost

Description

Running flask-socket-io using Python 3.5 I ran into the following issue when trying to send a message with an event name containing a dash.

From .js client:

socket.on('connect', function() {
    socket.emit('connect-event', {data :  'Client connected'});
});

Error in Python 3.5
ValueError: invalid literal for int() with base 10:

Points to:
packet.py line 84

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions