Permalink
Browse files

port is int

  • Loading branch information...
stephenmcd committed Jul 30, 2012
1 parent f2b7a5f commit a3994e0743d2a18220c2efeb4918d9a13d93d6ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/management/commands/runserver_socketio.py
@@ -41,5 +41,5 @@ def handle(self, addrport="", **kwargs):
raise CommandError('"%s" is not a valid port number '
'or address:port pair.' % addrport)
self.addr, _, _, _, self.port = m.groups()
- server = SocketIOServer((self.addr, self.port), application)
+ server = SocketIOServer((self.addr, int(self.port)), application)
server.serve_forever()

0 comments on commit a3994e0

Please sign in to comment.