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,7 +20,10 @@ import datetime
|
|||
import time
|
||||
from logging import warning
|
||||
import random
|
||||
import simplejson
|
||||
try:
|
||||
import json as simplejson
|
||||
except ImportError:
|
||||
import simplejson
|
||||
import urllib
|
||||
|
||||
from weboob.tools.browser import BaseBrowser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue