1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 14:14:15 +01:00
svtplay-dl/lib/svtplay_dl/utils/io.py

16 lines
382 B
Python
Raw Normal View History

# 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
# pylint: disable=E0611
from __future__ import absolute_import
2014-01-05 19:11:51 +01:00
from svtplay_dl.utils import is_py3
2014-01-05 19:11:51 +01:00
if is_py3:
from io import BytesIO as StringIO
else:
from StringIO import StringIO