Commit 12e03dc6 authored by Thomas Bohmbach, Jr's avatar Thomas Bohmbach, Jr
Browse files

Modified another json import to work on app engine

parent 4ac04f3e
......@@ -13,9 +13,15 @@ from . api import API
from . error import TweepError
try:
import json
import json #Python >= 2.6
except ImportError:
import simplejson as json
try:
import simplejson as json #Python < 2.6
except ImportError:
try:
from django.utils import simplejson as json #Google App Engine
except ImportError:
raise ImportError, "Can't load a json library"
STREAM_VERSION = 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment