Skip to content

Commit

Permalink
updated Google App Engine python API with imporved JSON import provid…
Browse files Browse the repository at this point in the history
…ed by Pierre-Olivier Latour.
  • Loading branch information
stephenlb committed Nov 11, 2011
1 parent c5b872a commit 8d4ce91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion google-app-engine/python/Pubnub.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
import hashlib
import urllib2

from django.utils import simplejson as json
try:
import json
except ImportError:
from django.utils import simplejson as json

from google.appengine.api import urlfetch

class Pubnub():
Expand Down

0 comments on commit 8d4ce91

Please sign in to comment.