Commit 054066d5 by William Tisäter

Fix import bug with StringIO and Python 3.

parent b76bdd49
......@@ -34,7 +34,11 @@ import socket
import mmap
import gzip
import codecs
from StringIO import StringIO
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
from . import const
from .util import ip2long
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment