simplejson is bundled as json in python >2.5
This commit is contained in:
parent
76e0cbe2ba
commit
87f386a384
1 changed files with 4 additions and 1 deletions
|
|
@ -20,6 +20,9 @@ import datetime
|
||||||
import time
|
import time
|
||||||
from logging import warning
|
from logging import warning
|
||||||
import random
|
import random
|
||||||
|
try:
|
||||||
|
import json as simplejson
|
||||||
|
except ImportError:
|
||||||
import simplejson
|
import simplejson
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue