Closed ethanal closed 9 years ago
https://github.com/tjcsl/ion/blob/7fafddfd90dce1681d0d4c7f06a45ae62955125e/intranet/apps/eighth/views/attendance.py#L5
from six.moves import cStringIO should do it.
It should be BytesIO in python 3 though so catching the ImportError is probably the only way
point.
That should do it, feel free to cherry-pick to master.
https://github.com/tjcsl/ion/blob/7fafddfd90dce1681d0d4c7f06a45ae62955125e/intranet/apps/eighth/views/attendance.py#L5