Fix ODT output for Python < 3
svn: r20696
This commit is contained in:
parent
3c3e5e8248
commit
5b7312f80d
@ -73,7 +73,7 @@ import time
|
|||||||
import locale
|
import locale
|
||||||
import sys
|
import sys
|
||||||
if sys.version_info[0] < 3:
|
if sys.version_info[0] < 3:
|
||||||
from StringIO import StringIO
|
from cStringIO import StringIO
|
||||||
else:
|
else:
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from math import pi, cos, sin, degrees, radians
|
from math import pi, cos, sin, degrees, radians
|
||||||
|
Loading…
Reference in New Issue
Block a user