File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1+ import os
2+ import sys
3+ import json
4+ from textwrap import dedent
15from polls .models import Question , Choice
26from django .test import Client , TestCase
37from django .test .utils import override_settings
4- from textwrap import dedent
58import pyexcel as pe
69import pyexcel .ext .xls
710import pyexcel .ext .xlsx
8- import json
9- import sys
10- import os
11+ import pyexcel .ext .ods3
1112PY2 = sys .version_info [0 ] == 2
1213if sys .version_info [0 ] == 2 and sys .version_info [1 ] < 7 :
1314 from ordereddict import OrderedDict
1415else :
1516 from collections import OrderedDict
1617if PY2 :
17- import pyexcel .ext .ods
1818 from StringIO import StringIO
1919 from StringIO import StringIO as BytesIO
2020else :
2121 from io import BytesIO , StringIO
22- import pyexcel .ext .ods3
2322
2423
2524FILE_TYPE_MIME_TABLE = {
You can’t perform that action at this time.
0 commit comments