mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
Replace simpljson imports with json
This has been in standard python since 2.6, and we don't really care about supporting anything older than that (even our old and soon to be upgraded environments use 2.7)
This commit is contained in:
@ -26,7 +26,7 @@ from django.contrib.auth import logout as django_logout
|
||||
from django.conf import settings
|
||||
|
||||
import base64
|
||||
import simplejson
|
||||
import json
|
||||
import socket
|
||||
import urlparse
|
||||
import urllib
|
||||
@ -200,6 +200,6 @@ def user_search(searchterm=None, userid=None):
|
||||
AES.MODE_CBC,
|
||||
base64.b64decode(ivs, "-_"))
|
||||
s = decryptor.decrypt(base64.b64decode(datas, "-_")).rstrip(' ')
|
||||
j = simplejson.loads(s)
|
||||
j = json.loads(s)
|
||||
|
||||
return j
|
||||
|
Reference in New Issue
Block a user