summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wsgitools/filters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/filters.py b/wsgitools/filters.py
index 84b0de7..64038c8 100644
--- a/wsgitools/filters.py
+++ b/wsgitools/filters.py
@@ -12,7 +12,7 @@ import time
import gzip
try:
import io
-except NameError:
+except ImportError:
try:
import cStringIO as io
except ImportError: