2013-04-21 13:42:33 +02:00
|
|
|
# ex:ts=4:sw=4:sts=4:et
|
|
|
|
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
|
|
|
|
|
|
|
# Pylint does not seem to handle conditional imports
|
|
|
|
# pylint: disable=F0401
|
|
|
|
# pylint: disable=W0611
|
2013-04-27 13:05:10 +02:00
|
|
|
# pylint: disable=E0611
|
2013-04-21 13:42:33 +02:00
|
|
|
|
|
|
|
from __future__ import absolute_import
|
2016-01-27 19:49:38 +01:00
|
|
|
from svtplay_dl.utils import is_py2
|
2013-04-21 13:42:33 +02:00
|
|
|
|
2016-01-27 19:49:38 +01:00
|
|
|
if is_py2:
|
2013-04-21 13:42:33 +02:00
|
|
|
from StringIO import StringIO
|
2016-01-27 19:49:38 +01:00
|
|
|
else:
|
|
|
|
from io import StringIO
|
|
|
|
|