Commit 79e92ebb authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Stream.py 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
try:
import simplejson as json
except ImportError:
try:
import 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"
from tweepy.utils import import_simplejson
json = import_simplejson()
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