Browse Source

fix urlparse import error

pull/125/head
xuyaoqiang 8 years ago
parent
commit
53e5a22a5f
  1. 5
      socketio/packet.py

5
socketio/packet.py

@ -1,6 +1,9 @@
import functools
import json as _json
from urllib.parse import urlparse
try:
from urllib.parse import urlparse
except ImportError:
from urllib2.urlparse import urlparse
import six

Loading…
Cancel
Save