Commit 79e92ebb authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files now imports json library with utility function.

parent 680ab394
......@@ -13,16 +13,8 @@ from tweepy.models import Status
from tweepy.api import API
from tweepy.error import TweepError
import simplejson as json
except ImportError:
import json # Python 2.6+
except ImportError:
from django.utils import simplejson as json # Google App Engine
except ImportError:
raise ImportError, "Can't load a json library"
from tweepy.utils import import_simplejson
json = import_simplejson()
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