Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

this was generating some str / unicode differences so, getting back t…

…o the old way for now
  • Loading branch information...
commit bf85bc9b5beaaa478e206d1d377ccdf7281e69e4 1 parent 3b21010
@fabiomcosta fabiomcosta authored
View
2  tests/test_detectors.py
@@ -9,7 +9,7 @@
# Copyright (c) 2011 globo.com timehome@corp.globo.com
from os.path import join, dirname, abspath
-from io import StringIO
+from cStringIO import StringIO
from thumbor.detectors.face_detector import Detector as FaceDetector
from thumbor.detectors.glasses_detector import Detector as GlassesDetector
View
2  tests/test_handlers.py
@@ -10,7 +10,7 @@
import os
from os.path import join, abspath, dirname
-from io import StringIO
+from cStringIO import StringIO
import unittest
from PIL import Image
View
2  thumbor/storages/mongo_storage.py
@@ -9,7 +9,7 @@
# Copyright (c) 2011 globo.com timehome@corp.globo.com
from datetime import datetime, timedelta
-from io import StringIO
+from cStringIO import StringIO
from pymongo import Connection
import gridfs
Please sign in to comment.
Something went wrong with that request. Please try again.