This commit is contained in:
mcclurem 2016-08-04 22:00:37 +00:00 committed by GitHub
commit ae9d26644d

View File

@ -34,6 +34,9 @@ from psycopg2._psycopg import new_type, new_array_type, register_type
# import the best json implementation available # import the best json implementation available
try:
import ujson as json
except ImportError:
if sys.version_info[:2] >= (2,6): if sys.version_info[:2] >= (2,6):
import json import json
else: else: