Skip to content

Commit c5146b2

Browse files
authored
Merge pull request #8 from hadifar/patch-1
Update __init__.py
2 parents 92b606d + c04cf5b commit c5146b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

randomAccessReader/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
# =============
1111

1212
import csv
13-
from io import StringIO
1413
import six
1514

15+
try:
16+
from StringIO import StringIO
17+
except ImportError:
18+
from io import StringIO
1619
# ==========
1720
# classes
1821
# ==========

0 commit comments

Comments
 (0)